Do not allow NUL bytes in string literals or character constants.

This commit is contained in:
Paul Eggert
2003-10-07 07:32:57 +00:00
parent 91d2c560a8
commit 92ac370570
3 changed files with 17 additions and 1 deletions

View File

@@ -1,3 +1,10 @@
2003-10-07 Paul Eggert <eggert@twinsun.com>
* doc/bison.texinfo (Symbols): NUL bytes are not allowed in string
literals, unfortunately.
* src/scan-gram.l (<SC_ESCAPED_STRING,SC_ESCAPED_CHARACTER>):
Complain about NUL bytes in character constants or string literals.
2003-10-05 Paul Eggert <eggert@twinsun.com>
* NEWS: Don't document %no-default-prec, as it's still