]> git.saurik.com Git - bison.git/commit
glr.cc: simplifying the handling of parse/lex params
authorAkim Demaille <akim@lrde.epita.fr>
Wed, 19 Dec 2012 10:01:52 +0000 (11:01 +0100)
committerAkim Demaille <akim@lrde.epita.fr>
Wed, 19 Dec 2012 10:26:00 +0000 (11:26 +0100)
commit65e0291619fdcda9c99d5ddf8fb0f93b99dcca52
tree95bfebaf2e78c6fb57afede00384294607072d14
parentca90437a61433c535c1539aab8696964d42e5618
glr.cc: simplifying the handling of parse/lex params

The fact that glr.cc uses glr.c makes the handling of parse params
more complex, as the parser object of glr.cc must be passed to the
parse function of glr.c.  Yet not all the functions need access to
the parser object.

* data/glr.cc (b4_parse_param_wrap): New.
Use them.
data/glr.cc