]> git.saurik.com Git - bison.git/commit - ChangeLog
%param.
authorAkim Demaille <demaille@gostai.com>
Thu, 3 Sep 2009 12:15:13 +0000 (14:15 +0200)
committerAkim Demaille <demaille@gostai.com>
Wed, 9 Sep 2009 13:45:25 +0000 (15:45 +0200)
commita7706735d143e3d7ab255e162499584e5337ba72
tree27795d8c94d7a86ba302fd46e3e4e475c58e9111
parentc6abeab182fed54a2068fd75978a97f9c09d9da7
%param.

Provide a means to factor lex-param and parse-param common
declarations.

* src/parse-gram.y (param_type): New.
Define a %printer for it.
(add_param): Use it.
(%parse-param, %lex-param): Merge into...
(%parse): this new token.
Adjust the grammar to use it.
* src/scan-gram.l (RETURN_VALUE): New.
(RETURN_PERCENT_FLAG): Use it.
(RETURN_PERCENT_PARAM): New.
Use it to support %parse-param, %lex-param and %param.
ChangeLog
src/parse-gram.y
src/scan-gram.l