Module Name: src Committed By: christos Date: Thu Oct 29 14:27:26 UTC 2009
Modified Files: src/games/atc: Makefile lex.l Log Message: use %option noinput nounput To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/games/atc/Makefile cvs rdiff -u -r1.7 -r1.8 src/games/atc/lex.l Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/games/atc/Makefile diff -u src/games/atc/Makefile:1.27 src/games/atc/Makefile:1.28 --- src/games/atc/Makefile:1.27 Mon Apr 20 12:05:29 2009 +++ src/games/atc/Makefile Thu Oct 29 10:27:26 2009 @@ -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 Index: src/games/atc/lex.l diff -u src/games/atc/lex.l:1.7 src/games/atc/lex.l:1.8 --- src/games/atc/lex.l:1.7 Thu Aug 7 05:36:54 2003 +++ src/games/atc/lex.l Thu Oct 29 10:27:26 2009 @@ -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); }