]> git.saurik.com Git - bison.git/commit
Factor %FLAG at scan level.
authorAkim Demaille <demaille@gostai.com>
Fri, 3 Apr 2009 04:50:06 +0000 (06:50 +0200)
committerAkim Demaille <demaille@gostai.com>
Fri, 3 Apr 2009 08:32:10 +0000 (10:32 +0200)
commitba061fa6f2fb7b144df75c1e052d61eeca392288
treed47a45f54b7a8b3c0512cfcf1f4ad81ff6e768bf
parentb19ebeb335a3bd8dd8805ea7ae908ee146e8c42b
Factor %FLAG at scan level.

* src/parse-gram.y (PERCENT_DEBUG, PERCENT_ERROR_VERBOSE): Token
definitions and associated rules, replaced by....
(PERCENT_FLAG): this new token type, and rule.
* src/scan-gram.l (RETURN_PERCENT_FLAG): New.
Use it for %debug and %error-verbose.
ChangeLog
src/parse-gram.y
src/scan-gram.l