]> www.ginac.de Git - ginac.git/blobdiff - ginsh/ginsh_lexer.ll
* Tweak around problem with unexpanded GINAC_DECLARE_REGISTER_CLASS macros.
[ginac.git] / ginsh / ginsh_lexer.ll
index d27d0fe275b8917ca06b32153e9e901716e6dd0b..20cb329776d26d7dd92033f4a9bcaad12a8305bb 100644 (file)
@@ -4,7 +4,7 @@
  *  This file must be processed with flex. */
 
 /*
- *  GiNaC Copyright (C) 1999-2000 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2001 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
@@ -56,6 +56,7 @@ AN    [0-9a-zA-Z_]
 [ \t\n]+               /* skip whitespace */
 \\$                    /* skip line continuations */
 "//".*                 /* skip comments starting with "//" */
+^"#".*                 /* skip lines starting with "#" */
 ^"!".*                 system(yytext + 1);     /* execute shell command */
 
                        /* special values */