summaryrefslogtreecommitdiffstats
path: root/atc/lex.l
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2009-10-29 14:27:26 +0000
committerchristos <christos@NetBSD.org>2009-10-29 14:27:26 +0000
commit4d595b91753b113d88fbf2fd5751f2725ec990f3 (patch)
treebec4f890626b13e3def6ac76f3d500cfa8314056 /atc/lex.l
parentc6804201945edc4a290e3ee7b7a4a2cc9950eb00 (diff)
downloadbsdgames-darwin-4d595b91753b113d88fbf2fd5751f2725ec990f3.tar.gz
bsdgames-darwin-4d595b91753b113d88fbf2fd5751f2725ec990f3.tar.zst
bsdgames-darwin-4d595b91753b113d88fbf2fd5751f2725ec990f3.zip
use %option noinput nounput
Diffstat (limited to 'atc/lex.l')
-rw-r--r--atc/lex.l5
1 files changed, 3 insertions, 2 deletions
diff --git a/atc/lex.l b/atc/lex.l
index 3e90b76e..7037293a 100644
--- a/atc/lex.l
+++ b/atc/lex.l
@@ -1,5 +1,5 @@
%{
-/* $NetBSD: lex.l,v 1.7 2003/08/07 09:36:54 agc Exp $ */
+/* $NetBSD: lex.l,v 1.8 2009/10/29 14:27:26 christos Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -47,7 +47,7 @@
#if 0
static char sccsid[] = "@(#)lex.l 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: lex.l,v 1.7 2003/08/07 09:36:54 agc Exp $");
+__RCSID("$NetBSD: lex.l,v 1.8 2009/10/29 14:27:26 christos Exp $");
#endif
#endif /* not lint */
@@ -58,6 +58,7 @@ __RCSID("$NetBSD: lex.l,v 1.7 2003/08/07 09:36:54 agc Exp $");
extern int line;
%}
+%option nounput noinput
%%
[0-9]+ { yylval.ival = atoi(yytext); return(ConstOp); }
height { return(HeightOp); }