X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/49b1cf794d71aa23b7fab120e9817062ec29b177..9e0876fb0cd09964f07046749a320855e78560ef:/tests/regression.at?ds=sidebyside diff --git a/tests/regression.at b/tests/regression.at index fe7c31b4..5ee3da93 100644 --- a/tests/regression.at +++ b/tests/regression.at @@ -324,9 +324,9 @@ int yylex (void); %token B_TOKEN "b" %token C_TOKEN 'c' %token 'd' D_TOKEN -%token SPECIAL "\\\'\?\"\n\t??!" +%token SPECIAL "\\\'\?\"\a\b\f\n\r\t\v\001\377\x001\x0000ff??!" %% -exp: "a" "\\\'\?\"\n\t??!"; +exp: "a" "\\\'\?\"\a\b\f\n\r\t\v\001\377\x001\x0000ff??!"; %% void yyerror (char const *s) @@ -350,8 +350,7 @@ main (void) AT_CHECK([bison -o input.c input.y]) AT_COMPILE([input]) AT_PARSER_CHECK([./input], 1, [], -[syntax error, unexpected \'?" - ??!, expecting a +[syntax error, unexpected "\\'?\"\a\b\f\n\r\t\v\001\377\001\377?\?!", expecting a ]) AT_CLEANUP @@ -635,8 +634,8 @@ static const unsigned char yyrline[] = }; static const char *const yytname[] = { - "$end", "error", "$undefined", "if", "const", "then", "else", "$accept", - "statement", "struct_stat", "if", "else", 0 + "$end", "error", "$undefined", "\"if\"", "\"const\"", "\"then\"", + "\"else\"", "$accept", "statement", "struct_stat", "if", "else", 0 }; static const unsigned short int yytoknum[] = {