]> www.ginac.de Git - ginac.git/blobdiff - ginsh/ginsh_lexer.ll
documentation update
[ginac.git] / ginsh / ginsh_lexer.ll
index 20cb329776d26d7dd92033f4a9bcaad12a8305bb..c4beae09011eb8e30cfd84285271c759f23f2f6d 100644 (file)
@@ -4,7 +4,7 @@
  *  This file must be processed with flex. */
 
 /*
- *  GiNaC Copyright (C) 1999-2001 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2002 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
@@ -88,10 +88,9 @@ score                        return T_SCORE;
 \"                     return T_QUOTE;
 \"\"                   return T_QUOTE2;
 \"\"\"                 return T_QUOTE3;
-
-                       /* matrix delimiters */
-\[\[                   return T_MATRIX_BEGIN;
-\]\]                   return T_MATRIX_END;
+\%                     return T_QUOTE;
+\%\%                   return T_QUOTE2;
+\%\%\%                 return T_QUOTE3;
 
                        /* numbers */
 {D}+                   |
@@ -113,6 +112,9 @@ score                       return T_SCORE;
                                return T_SYMBOL;
                        }
 
+                       /* wildcards */
+\${D}+                 yylval = wild(atoi(yytext + 1)); return T_LITERAL;
+
                        /* everything else */
 .                      return *yytext;