Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/msgc option noinput



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

description:
option noinput

diffstat:

 usr.bin/msgc/Makefile  |  4 ++--
 usr.bin/msgc/msgscan.l |  6 ++++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (45 lines):

diff -r a36ce074b617 -r f46a513ca8cd usr.bin/msgc/Makefile
--- a/usr.bin/msgc/Makefile     Thu Oct 29 14:37:16 2009 +0000
+++ b/usr.bin/msgc/Makefile     Thu Oct 29 14:37:56 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.17 2009/04/20 16:05:30 drochner Exp $
+#      $NetBSD: Makefile,v 1.18 2009/10/29 14:37:56 christos Exp $
 
 WARNS?= 1      # XXX -Wshadow -Wcast-qual issues
 
@@ -7,7 +7,7 @@
 PROG=          msgc
 SRCS=          msgmain.c msgparse.y msgscan.l msgdb.c util.c avl.c
 .PATH:         ${NETBSDSRCDIR}/usr.bin/menuc
-CPPFLAGS+=     -I. -I${.CURDIR} -DYY_NO_INPUT
+CPPFLAGS+=     -I. -I${.CURDIR}
 YHEADER=
 
 .if ${MKSHARE} != "no"
diff -r a36ce074b617 -r f46a513ca8cd usr.bin/msgc/msgscan.l
--- a/usr.bin/msgc/msgscan.l    Thu Oct 29 14:37:16 2009 +0000
+++ b/usr.bin/msgc/msgscan.l    Thu Oct 29 14:37:56 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msgscan.l,v 1.4 2003/07/17 08:33:05 lukem Exp $        */
+/*     $NetBSD: msgscan.l,v 1.5 2009/10/29 14:37:56 christos Exp $     */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -42,7 +42,7 @@
 #include <sys/cdefs.h>
 
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: msgscan.l,v 1.4 2003/07/17 08:33:05 lukem Exp $");
+__RCSID("$NetBSD: msgscan.l,v 1.5 2009/10/29 14:37:56 christos Exp $");
 #endif
 
 
@@ -58,6 +58,8 @@
 %x COMMENT
 %x BRACE
 
+%option noinput
+
 %%
 
 [ \t]+ { /* ignore spaces and tabs */ }



Home | Main Index | Thread Index | Old Index