reader: no longer accept %define variable names in quotes

It was never documented.

* src/parse-gram.y (variable): Here.
This commit is contained in:
Akim Demaille
2018-11-10 15:52:25 +01:00
parent 3ae81aa338
commit bda2bed459

View File

@@ -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. */