]> git.saurik.com Git - bison.git/commit - tests/input.at
Warn about character literals not of length one.
authorJoel E. Denny <jdenny@clemson.edu>
Fri, 24 Jul 2009 14:29:07 +0000 (10:29 -0400)
committerJoel E. Denny <jdenny@clemson.edu>
Fri, 24 Jul 2009 15:30:27 +0000 (11:30 -0400)
commit3208e3f4d9aff080a546685560536336f0852bcb
treed1c9132a18d60020ec3e6d93699ff8d1514d0bb2
parent13cdf208ed0f643dd00262ef87fcc7b83dab27a6
Warn about character literals not of length one.

* NEWS (2.5): Document.
* src/scan-gram.l (INITIAL): Remove comment that we don't check
the length.
(SC_ESCAPED_CHARACTER): Warn if length is wrong.
* tests/input.at (Bad character literals): New test group.
(cherry picked from commit ac9b0e954b1d3aed514a3bbd363da1514202af0f)
ChangeLog
NEWS
src/scan-gram.l
tests/input.at