You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-%option debug nodefault nounput noyywrap never-interactive
+%option debug nodefault noinput nounput noyywrap never-interactive
%option prefix="gram_" outfile="lex.yy.c"
%{
{
/* 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')