]> www.ginac.de Git - ginac.git/blobdiff - ginsh/ginsh_lexer.ll
- Finally: the test M1 from Lewis and Wester works.
[ginac.git] / ginsh / ginsh_lexer.ll
index 293e46b5c15aeb41d810d4332ea068cff99db83a..94bff017b1de95c3c130210ce3377433c4a556b7 100644 (file)
@@ -3,7 +3,7 @@
  *  Lexical analyzer definition for ginsh.
  *  This file must be processed with flex.
  *
- *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2000 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
@@ -59,7 +59,7 @@ AN    [0-9a-zA-Z_]
 
                        /* special values */
 Pi                     yylval = Pi; return T_LITERAL;
-EulerGamma             yylval = EulerGamma; return T_LITERAL;
+gamma                  yylval = gamma; return T_LITERAL;
 Catalan                        yylval = Catalan; return T_LITERAL;
 FAIL                   yylval = *new fail(); return T_LITERAL;
 I                      yylval = I; return T_NUMBER;
@@ -67,7 +67,10 @@ Digits                       yylval = (long)Digits; return T_DIGITS;
 
                        /* keywords */
 quit|exit              return T_QUIT;
+warranty               return T_WARRANTY;
 print                  return T_PRINT;
+read                   return T_READ;
+write                  return T_WRITE;
 time                   return T_TIME;
 xyzzy                  return T_XYZZY;
 inventory              return T_INVENTORY;