[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
don't test for NUL bytes in Bison strings
From: |
Paul Eggert |
Subject: |
don't test for NUL bytes in Bison strings |
Date: |
24 Dec 2003 00:19:35 -0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
I installed this obvious patch to a test case. I don't know why I didn't
see this test case failure earlier.
2003-12-23 Paul Eggert <address@hidden>
* tests/input.at (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.
Index: input.at
===================================================================
RCS file: /cvsroot/bison/bison/tests/input.at,v
retrieving revision 1.27
retrieving revision 1.28
diff -p -u -r1.27 -r1.28
--- input.at 14 May 2003 19:26:52 -0000 1.27
+++ input.at 24 Dec 2003 08:17:05 -0000 1.28
@@ -167,7 +167,7 @@ static int yylex (void);
%type <ival> '@<:@'
/* 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. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- don't test for NUL bytes in Bison strings,
Paul Eggert <=