public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Add missing copyright header to lexer header
@ 2022-06-08 12:07 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-08 12:07 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:864df7901cfb2581b226939bec85d75c2f301aa3
commit 864df7901cfb2581b226939bec85d75c2f301aa3
Author: Philip Herron <philip.herron@embecosm.com>
Date: Wed Feb 16 17:53:33 2022 +0000
Add missing copyright header to lexer header
Diff:
---
gcc/rust/lex/rust-lex.h | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gcc/rust/lex/rust-lex.h b/gcc/rust/lex/rust-lex.h
index 4b2feae53f7..0ae07fe2cd1 100644
--- a/gcc/rust/lex/rust-lex.h
+++ b/gcc/rust/lex/rust-lex.h
@@ -1,3 +1,21 @@
+// Copyright (C) 2020-2022 Free Software Foundation, Inc.
+
+// This file is part of GCC.
+
+// GCC is free software; you can redistribute it and/or modify it under
+// the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 3, or (at your option) any later
+// version.
+
+// GCC is distributed in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or
+// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+// for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with GCC; see the file COPYING3. If not see
+// <http://www.gnu.org/licenses/>.
+
#ifndef RUST_LEX_H
#define RUST_LEX_H
@@ -198,6 +216,7 @@ private:
// Token stream queue.
buffered_queue<std::shared_ptr<Token>, TokenSource> token_queue;
};
+
} // namespace Rust
#endif
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-08 12:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08 12:07 [gcc/devel/rust/master] Add missing copyright header to lexer header Thomas Schwinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).