Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/mkesdb put all the YY_NO in one place.
details: https://anonhg.NetBSD.org/src/rev/df59b803354d
branches: trunk
changeset: 748600:df59b803354d
user: christos <christos%NetBSD.org@localhost>
date: Wed Oct 28 22:22:44 2009 +0000
description:
put all the YY_NO in one place.
diffstat:
usr.bin/mkesdb/Makefile | 4 ++--
usr.bin/mkesdb/lex.l | 7 +++++--
2 files changed, 7 insertions(+), 4 deletions(-)
diffs (46 lines):
diff -r fc8aa2f31dcb -r df59b803354d usr.bin/mkesdb/Makefile
--- a/usr.bin/mkesdb/Makefile Wed Oct 28 22:09:02 2009 +0000
+++ b/usr.bin/mkesdb/Makefile Wed Oct 28 22:22:44 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/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
diff -r fc8aa2f31dcb -r df59b803354d usr.bin/mkesdb/lex.l
--- a/usr.bin/mkesdb/lex.l Wed Oct 28 22:09:02 2009 +0000
+++ b/usr.bin/mkesdb/lex.l Wed Oct 28 22:22:44 2009 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index