From: Paul Eggert Date: Wed, 24 Dec 2003 08:17:05 +0000 (+0000) Subject: (Torturing the Scanner): Don't use \x0 or \0 in X-Git-Tag: BISON-2_0~191 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/3dc4c5faa972ccf08d3988af986e591cf9822b43 (Torturing the Scanner): Don't use \x0 or \0 in Bison tokens, as this runs afoul of the 2003-10-07 change that disallowed NUL bytes in character constants or string literals. --- diff --git a/tests/input.at b/tests/input.at index 935e74ca..4b3e4e21 100644 --- a/tests/input.at +++ b/tests/input.at @@ -167,7 +167,7 @@ static int yylex (void); %type '@<:@' /* Exercise quotes in strings. */ -%token FAKE "fake @<:@@:>@ \a\b\f\n\r\t\v\"\'\?\\\u005B\U0000005c ??!??'??(??)??-??/?? \x0\0" +%token FAKE "fake @<:@@:>@ \a\b\f\n\r\t\v\"\'\?\\\u005B\U0000005c ??!??'??(??)??-??/?? \x1\1" %% /* Exercise M4 quoting: '@:>@@:>@', @<:@, 1. */