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 14:31:16 +0000 (10:31 -0400)
commitac9b0e954b1d3aed514a3bbd363da1514202af0f
tree359113cfc16926ce8ac46cc93676a44629c4c156
parent2de160e12ea0b0313a3a4f2120b30a3eeaad0c76
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.
ChangeLog
NEWS
src/scan-gram.l
tests/input.at