]> git.saurik.com Git - bison.git/commit
muscle: factor the handling of obsolete of obsolete directives.
authorAkim Demaille <demaille@gostai.com>
Sun, 5 Apr 2009 19:48:45 +0000 (21:48 +0200)
committerAkim Demaille <demaille@gostai.com>
Mon, 6 Apr 2009 11:24:32 +0000 (13:24 +0200)
commit4920ae8b66cb55e575043d67b4d7cda7e8dfdc92
treee98dbf804dae8f34654a3d1ba3424014edc1f007
parent1d5b3c08fe51fa55ff258c40a9aea3e96de104e1
muscle: factor the handling of obsolete of obsolete directives.

Suggested by Joel E. Denny.

* src/muscle_tab.h, src/muscle_tab.c (muscle_percent_define_ensure):
New, extracted from...
* src/parse-gram.y (prologue_declaration: pure-parser): here.
Remove it.
(prologue_declaration: "%<flag>"): Use
muscle_percent_define_ensure.
(%error-verbose, %pure-parser): No longer tokens.
* src/scan-gram.l (pure-parser): Return as a %<flag>.
ChangeLog
src/muscle_tab.c
src/muscle_tab.h
src/parse-gram.y
src/scan-gram.l