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.
This commit is contained in:
Akim Demaille
2009-04-03 06:50:06 +02:00
parent b19ebeb335
commit ba061fa6f2
3 changed files with 26 additions and 13 deletions

View File

@@ -1,3 +1,12 @@
2009-04-03 Akim Demaille <demaille@gostai.com>
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.
2009-04-03 Akim Demaille <demaille@gostai.com>
Regen.