summaryrefslogtreecommitdiffstats
path: root/usr.bin/mkcsmapper/lex.l
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mkcsmapper/lex.l')
-rw-r--r--usr.bin/mkcsmapper/lex.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mkcsmapper/lex.l b/usr.bin/mkcsmapper/lex.l
index dd46caf..d8ab1b6 100644
--- a/usr.bin/mkcsmapper/lex.l
+++ b/usr.bin/mkcsmapper/lex.l
@@ -43,6 +43,7 @@
int line_number = 1;
%}
+%option noinput
%option nounput
%x COMMENT
@@ -57,7 +58,7 @@ int line_number = 1;
<COMMENT>[\n] { line_number++; }
<COMMENT>. { }
<COMMENT><<EOF>> {
- yyerror("unexpected file end (unterminate comment)\n");
+ yyerror("unexpected file end (unterminated comment)\n");
exit(1);
}
OpenPOWER on IntegriCloud