]> www.ginac.de Git - ginac.git/blobdiff - ginac/parser/lexer.h
Allow underscores in identifiers.
[ginac.git] / ginac / parser / lexer.h
index 0a00ed3936dbd2befc02d94e8a4d5778176d958c..7d23c091cf3bb39a16103460e751a760dfa18390 100644 (file)
@@ -1,10 +1,33 @@
-#ifndef GINAC_LEXER_HPP_
-#define GINAC_LEXER_HPP_
+/** @file lexer.h
+ *
+ *  The lexer. */
+
+/*
+ *  GiNaC Copyright (C) 1999-2009 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program 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 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program 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 this program; if not, write to the Free Software
+ *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+ */
+
+#ifndef GINAC_LEXER_H
+#define GINAC_LEXER_H
+
 #include <iosfwd>
 #include <string>
 #include <cstddef>
-namespace GiNaC
-{
+
+namespace GiNaC {
 
 class lexer
 {
@@ -44,5 +67,4 @@ public:
 
 } // namespace GiNaC
 
-#endif // GINAC_LEXER_HPP_
-
+#endif // ndef GINAC_LEXER_H