Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/games/atc use %option noinput nounput



details:   https://anonhg.NetBSD.org/src/rev/3b4b53c01008
branches:  trunk
changeset: 748628:3b4b53c01008
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Oct 29 14:27:26 2009 +0000

description:
use %option noinput nounput

diffstat:

 games/atc/Makefile |  4 ++--
 games/atc/lex.l    |  5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diffs (43 lines):

diff -r 0344c966433b -r 3b4b53c01008 games/atc/Makefile
--- a/games/atc/Makefile        Thu Oct 29 14:21:40 2009 +0000
+++ b/games/atc/Makefile        Thu Oct 29 14:27:26 2009 +0000
@@ -1,10 +1,10 @@
-#      $NetBSD: Makefile,v 1.27 2009/04/20 16:05:29 drochner Exp $
+#      $NetBSD: Makefile,v 1.28 2009/10/29 14:27:26 christos Exp $
 #      @(#)Makefile    8.1 (Berkeley) 5/31/93
 
 .include <bsd.own.mk>
 
 PROG=  atc
-CPPFLAGS+=-DBSD -I${.CURDIR} -I. -DYY_NO_UNPUT -DYY_NO_INPUT
+CPPFLAGS+=-DBSD -I${.CURDIR} -I.
 SRCS=  extern.c grammar.y graphics.c input.c lex.l list.c log.c \
        main.c tunable.c update.c
 YHEADER=1
diff -r 0344c966433b -r 3b4b53c01008 games/atc/lex.l
--- a/games/atc/lex.l   Thu Oct 29 14:21:40 2009 +0000
+++ b/games/atc/lex.l   Thu Oct 29 14:27:26 2009 +0000
@@ -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 @@
 extern int     line;
 
 %}
+%option nounput noinput
 %%
 [0-9]+                 { yylval.ival = atoi(yytext);  return(ConstOp); }
 height                 { return(HeightOp); }



Home | Main Index | Thread Index | Old Index