Module Name:    src
Committed By:   christos
Date:           Wed Oct 28 22:22:44 UTC 2009

Modified Files:
        src/usr.bin/mkesdb: Makefile lex.l

Log Message:
put all the YY_NO in one place.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/mkesdb/Makefile
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/mkesdb/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.bin/mkesdb/Makefile
diff -u src/usr.bin/mkesdb/Makefile:1.6 src/usr.bin/mkesdb/Makefile:1.7
--- src/usr.bin/mkesdb/Makefile:1.6	Mon Apr 20 12:05:30 2009
+++ src/usr.bin/mkesdb/Makefile	Wed Oct 28 18:22:44 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2009/04/20 16:05:30 drochner Exp $
+#	$NetBSD: Makefile,v 1.7 2009/10/28 22:22:44 christos Exp $
 
 NOMAN=# defined (must come before bsd.own.mk)
 
@@ -14,7 +14,7 @@
 		citrus_lookup_factory.c
 CPPFLAGS+=	-I. -I${.CURDIR} -I${NETBSDSRCDIR}/lib/libc \
 		-I${NETBSDSRCDIR}/lib/libc/citrus \
-		-DHOSTPROG -DLIBC_SCCS -DYY_NO_INPUT
+		-DHOSTPROG -DLIBC_SCCS
 YHEADER=	1
 
 .ifndef HOSTPROG

Index: src/usr.bin/mkesdb/lex.l
diff -u src/usr.bin/mkesdb/lex.l:1.3 src/usr.bin/mkesdb/lex.l:1.4
--- src/usr.bin/mkesdb/lex.l:1.3	Thu Feb  9 17:03:15 2006
+++ src/usr.bin/mkesdb/lex.l	Wed Oct 28 18:22:44 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: lex.l,v 1.3 2006/02/09 22:03:15 dogcow Exp $	*/
+/*	$NetBSD: lex.l,v 1.4 2009/10/28 22:22:44 christos Exp $	*/
 
 %{
 /*-
@@ -33,7 +33,7 @@
 
 #include <sys/cdefs.h>
 #if !defined(lint)
-__RCSID("$NetBSD: lex.l,v 1.3 2006/02/09 22:03:15 dogcow Exp $");
+__RCSID("$NetBSD: lex.l,v 1.4 2009/10/28 22:22:44 christos Exp $");
 #endif /* not lint */
 
 #include <assert.h>
@@ -49,6 +49,9 @@
 #include "yacc.h"
 
 int line_number = 1;
+
+#define YY_NO_UNPUT
+#define YY_NO_INPUT
 %}
 
 %x	COMMENT

Reply via email to