mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-04-23 18:19:38 +00:00
89c4e1becf
On an invalid character literal such as "'\777'" we used to produce
two errors:
input.y:2.9-12: error: invalid number after \-escape: 777
input.y:2.8-13: error: empty character literal
Get rid of the second one.
* src/scan-gram.l (STRING_GROW_ESCAPE): New.
* tests/input.at: Adjust.