]> git.saurik.com Git - bison.git/commit
skeletons: no longer call yylex via a CPP macro
authorAkim Demaille <akim@lrde.epita.fr>
Wed, 26 Dec 2012 07:18:03 +0000 (08:18 +0100)
committerAkim Demaille <akim@lrde.epita.fr>
Wed, 26 Dec 2012 09:38:59 +0000 (10:38 +0100)
commit64b3612ab183b8f000d3d6b2c8eb957865081d37
tree0be6ec137276a49e5a395c979209b22d7544d26c
parent40bb6f78f82350bd77abddba5158dfeda1fbb10a
skeletons: no longer call yylex via a CPP macro

The YYLEX existed only to support YYLEX_PARAM, which is now removed.
This macro was a nuisance, since incorrect yylex calls where pointed
the macro _use_, instead of its definition.

* data/c.m4 (b4_lex_formals, b4_lex): New.
* data/glr.c, data/yacc.c: Use it.
* data/lalr1.cc (b4_lex): New.
Use it.

squash! skeletons: no longer call yylex via a CPP macro
data/c.m4
data/glr.c
data/lalr1.cc
data/yacc.c