Use #define to handle the %name-prefix.

* data/glr.c, data/yacc.c: Comment changes.
* data/lalr1.cc (yylex): Use #define to select the name of yylex,
so that one can refer to yylex in the parser file, and have it
renamed, as is the case with other skeletons.
This commit is contained in:
Akim Demaille
2004-12-16 09:06:08 +00:00
parent 617a8f1227
commit c5b95ccf6b
4 changed files with 20 additions and 8 deletions

View File

@@ -1,3 +1,12 @@
2004-12-16 Akim Demaille <akim@epita.fr>
Use #define to handle the %name-prefix.
* data/glr.c, data/yacc.c: Comment changes.
* data/lalr1.cc (yylex): Use #define to select the name of yylex,
so that one can refer to yylex in the parser file, and have it
renamed, as is the case with other skeletons.
2004-12-16 Akim Demaille <akim@epita.fr>
Move lalr1.cc internals into yy*.