Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin option noinput
details: https://anonhg.NetBSD.org/src/rev/5371e9b41750
branches: trunk
changeset: 748632:5371e9b41750
user: christos <christos%NetBSD.org@localhost>
date: Thu Oct 29 14:35:25 2009 +0000
description:
option noinput
diffstat:
usr.bin/fgen/Makefile | 4 ++--
usr.bin/fgen/fgen.l | 6 +++---
usr.bin/menuc/Makefile | 4 ++--
usr.bin/menuc/scan.l | 4 +++-
4 files changed, 10 insertions(+), 8 deletions(-)
diffs (73 lines):
diff -r d61a101287f9 -r 5371e9b41750 usr.bin/fgen/Makefile
--- a/usr.bin/fgen/Makefile Thu Oct 29 14:34:27 2009 +0000
+++ b/usr.bin/fgen/Makefile Thu Oct 29 14:35:25 2009 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2009/04/20 16:05:30 drochner Exp $
+# $NetBSD: Makefile,v 1.8 2009/10/29 14:35:25 christos Exp $
-CPPFLAGS+= -I${.CURDIR} -DYY_NO_INPUT
+CPPFLAGS+= -I${.CURDIR}
PROG= fgen
SRCS= fgen.l
MAN= fgen.1
diff -r d61a101287f9 -r 5371e9b41750 usr.bin/fgen/fgen.l
--- a/usr.bin/fgen/fgen.l Thu Oct 29 14:34:27 2009 +0000
+++ b/usr.bin/fgen/fgen.l Thu Oct 29 14:35:25 2009 +0000
@@ -1,5 +1,5 @@
%{
-/* $NetBSD: fgen.l,v 1.31 2009/10/19 18:12:37 snj Exp $ */
+/* $NetBSD: fgen.l,v 1.32 2009/10/29 14:35:25 christos Exp $ */
/* FLEX input for FORTH input file scanner */
/*
* Copyright (c) 1998 Eduardo Horvath.
@@ -42,12 +42,12 @@
#endif
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: fgen.l,v 1.31 2009/10/19 18:12:37 snj Exp $");
+__RCSID("$NetBSD: fgen.l,v 1.32 2009/10/29 14:35:25 christos Exp $");
#endif
%}
-%option yylineno
+%option yylineno noinput
decimal [0-9.]
hex [0-9A-Fa-f.]
diff -r d61a101287f9 -r 5371e9b41750 usr.bin/menuc/Makefile
--- a/usr.bin/menuc/Makefile Thu Oct 29 14:34:27 2009 +0000
+++ b/usr.bin/menuc/Makefile Thu Oct 29 14:35:25 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2009/04/20 16:05:30 drochner Exp $
+# $NetBSD: Makefile,v 1.14 2009/10/29 14:36:14 christos Exp $
WARNS?= 1 # XXX -Wshadow -Wcast-qual issues
@@ -6,7 +6,7 @@
PROG= menuc
SRCS= main.c parse.y scan.l avl.c mdb.c util.c
-CPPFLAGS+= -I. -I${.CURDIR} -DYY_NO_INPUT
+CPPFLAGS+= -I. -I${.CURDIR}
YHEADER=
.if ${MKSHARE} != "no"
diff -r d61a101287f9 -r 5371e9b41750 usr.bin/menuc/scan.l
--- a/usr.bin/menuc/scan.l Thu Oct 29 14:34:27 2009 +0000
+++ b/usr.bin/menuc/scan.l Thu Oct 29 14:35:25 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: scan.l,v 1.14 2004/08/02 21:29:07 dsl Exp $ */
+/* $NetBSD: scan.l,v 1.15 2009/10/29 14:36:14 christos Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -52,6 +52,8 @@
%x COMMENT
%x BRACE
+%option noinput
+
%%
[ \t]+ { /* ignore spaces and tabs */ }
Home |
Main Index |
Thread Index |
Old Index