Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/mkcsmapper option noinput nounput



details:   https://anonhg.NetBSD.org/src/rev/a36ce074b617
branches:  trunk
changeset: 748633:a36ce074b617
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Oct 29 14:37:16 2009 +0000

description:
option noinput nounput

diffstat:

 usr.bin/mkcsmapper/Makefile |  4 ++--
 usr.bin/mkcsmapper/lex.l    |  7 ++++---
 2 files changed, 6 insertions(+), 5 deletions(-)

diffs (49 lines):

diff -r 5371e9b41750 -r a36ce074b617 usr.bin/mkcsmapper/Makefile
--- a/usr.bin/mkcsmapper/Makefile       Thu Oct 29 14:35:25 2009 +0000
+++ b/usr.bin/mkcsmapper/Makefile       Thu Oct 29 14:37:16 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2009/04/20 16:05:30 drochner Exp $
+#      $NetBSD: Makefile,v 1.7 2009/10/29 14:37:16 christos Exp $
 
 NOMAN=# defined (must come before bsd.own.mk)
 
@@ -15,7 +15,7 @@
 CPPFLAGS+=     -I. -I${.CURDIR} -I${NETBSDSRCDIR}/lib/libc \
                -I${NETBSDSRCDIR}/lib/libc/citrus \
                -I${NETBSDSRCDIR}/lib/libc/citrus/modules \
-               -DHOSTPROG -DLIBC_SCCS -DYY_NO_INPUT
+               -DHOSTPROG -DLIBC_SCCS
 YHEADER=       1
 
 .ifndef HOSTPROG
diff -r 5371e9b41750 -r a36ce074b617 usr.bin/mkcsmapper/lex.l
--- a/usr.bin/mkcsmapper/lex.l  Thu Oct 29 14:35:25 2009 +0000
+++ b/usr.bin/mkcsmapper/lex.l  Thu Oct 29 14:37:16 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lex.l,v 1.5 2009/10/28 22:09:02 christos Exp $ */
+/*     $NetBSD: lex.l,v 1.6 2009/10/29 14:37:16 christos Exp $ */
 
 %{
 /*-
@@ -33,7 +33,7 @@
 
 #include <sys/cdefs.h>
 #if !defined(lint)
-__RCSID("$NetBSD: lex.l,v 1.5 2009/10/28 22:09:02 christos Exp $");
+__RCSID("$NetBSD: lex.l,v 1.6 2009/10/29 14:37:16 christos Exp $");
 #endif /* not lint */
 
 #include <assert.h>
@@ -49,10 +49,11 @@
 
 int line_number = 1;
 
-#define YY_NO_UNPUT
 
 %}
 
+%option noinput nounput
+
 %x     COMMENT
 
 %%



Home | Main Index | Thread Index | Old Index