diff options
Diffstat (limited to 'grammar/lexer.l')
-rw-r--r-- | grammar/lexer.l | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/grammar/lexer.l b/grammar/lexer.l index 63eaa8ce..b7966369 100644 --- a/grammar/lexer.l +++ b/grammar/lexer.l @@ -216,7 +216,8 @@ int fileno(FILE *stream); <COMMENT>([^*]|\n)+|. <INOBJ>#.*$ /* skip comments in input */ <INOBJ>[ \n\t] -<INOBJ>. { dbgprintf("INOBJ: invalid char '%s'\n", yytext); } +<INOBJ>. { parser_errmsg("invalid character '%s' - is there an invalid " + "escape sequence somewhere?", yytext); } \$[a-z]+.*$ { /* see comment on $IncludeConfig above */ if(!strncasecmp(yytext, "$includeconfig ", 14)) { yyless(14); |