* src/scan-gram.l (SC_ESCAPED_CHARACTER): Actually use length
variable.
+2009-07-29 Joel E. Denny <jdenny@ces.clemson.edu>
+
+ Fix a --enable-gcc-warnings problem.
+ * src/scan-gram.l (SC_ESCAPED_CHARACTER): Actually use length
+ variable.
+
2009-07-24 Alex Rozenman <rozenmam@gmail.com>
Fix some memory leaks.
{
/* FIXME: Eventually, make these errors. */
size_t length = strlen (last_string);
- if (strlen (last_string) < 3)
+ if (length < 3)
warn_at (*loc, _("empty character literal"));
- else if (strlen (last_string) > 3)
+ else if (length > 3)
warn_at (*loc, _("extra characters in character literal"));
}
if (yytext[0] == '\n')