mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
reader: no longer accept %define variable names in quotes
It was never documented. * src/parse-gram.y (variable): Here.
This commit is contained in:
@@ -621,15 +621,13 @@ named_ref.opt:
|
|||||||
| BRACKETED_ID { $$ = named_ref_new ($1, @1); }
|
| BRACKETED_ID { $$ = named_ref_new ($1, @1); }
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
||||||
/*---------------------.
|
/*---------------------.
|
||||||
| variable and value. |
|
| variable and value. |
|
||||||
`---------------------*/
|
`---------------------*/
|
||||||
|
|
||||||
/* The STRING form of variable is deprecated and is not M4-friendly.
|
|
||||||
For example, M4 fails for '%define "[" "value"'. */
|
|
||||||
variable:
|
variable:
|
||||||
ID
|
ID
|
||||||
| STRING { $$ = uniqstr_new ($1); }
|
|
||||||
;
|
;
|
||||||
|
|
||||||
/* Some content or empty by default. */
|
/* Some content or empty by default. */
|
||||||
|
|||||||
Reference in New Issue
Block a user