diff options
Diffstat (limited to 'spec.l')
-rw-r--r-- | spec.l | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -187,6 +187,11 @@ ID [a-zA-Z_][a-zA-Z0-9_]* BEGIN(INITIAL); } +<*>. { + fprintf(stderr, "error: unexpected character \'%c\' at line %d\n", + *yytext, num_lines + 1); + exit(1); + } %% |