Module Name: src Committed By: christos Date: Thu Oct 29 14:38:38 UTC 2009
Modified Files: src/usr.sbin/envstat: Makefile config_lex.l Log Message: option noinput nounput To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/envstat/Makefile cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/envstat/config_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/usr.sbin/envstat/Makefile diff -u src/usr.sbin/envstat/Makefile:1.6 src/usr.sbin/envstat/Makefile:1.7 --- src/usr.sbin/envstat/Makefile:1.6 Wed Apr 22 11:23:03 2009 +++ src/usr.sbin/envstat/Makefile Thu Oct 29 10:38:37 2009 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2009/04/22 15:23:03 lukem Exp $ +# $NetBSD: Makefile,v 1.7 2009/10/29 14:38:37 christos Exp $ PROG= envstat SRCS+= envstat.c config.c config_yacc.y config_lex.l @@ -8,7 +8,7 @@ MAN= envstat.8 envsys.conf.5 -CPPFLAGS+= -I${.CURDIR} -I. -DYY_NO_INPUT +CPPFLAGS+= -I${.CURDIR} -I. YHEADER= yes Index: src/usr.sbin/envstat/config_lex.l diff -u src/usr.sbin/envstat/config_lex.l:1.5 src/usr.sbin/envstat/config_lex.l:1.6 --- src/usr.sbin/envstat/config_lex.l:1.5 Wed Oct 28 18:37:50 2009 +++ src/usr.sbin/envstat/config_lex.l Thu Oct 29 10:38:37 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: config_lex.l,v 1.5 2009/10/28 22:37:50 christos Exp $ */ +/* $NetBSD: config_lex.l,v 1.6 2009/10/29 14:38:37 christos Exp $ */ /*- * Copyright (c) 2007 Juan Romero Pardines. @@ -29,7 +29,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: config_lex.l,v 1.5 2009/10/28 22:37:50 christos Exp $"); +__RCSID("$NetBSD: config_lex.l,v 1.6 2009/10/29 14:38:37 christos Exp $"); #endif /* not lint */ #include <stdio.h> @@ -42,11 +42,10 @@ extern int yyerror(const char *, ...); int yylex(void); -#define YY_NO_UNPUT %} -%option noyywrap +%option noyywrap noinput nounput DEVICEPROP refresh-timeout SENSOR sensor[0-9]+