Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/am-utils/dist use %option noinput since we need...



details:   https://anonhg.NetBSD.org/src/rev/ffae32d06e78
branches:  trunk
changeset: 766413:ffae32d06e78
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Jun 22 03:58:51 2011 +0000

description:
use %option noinput since we need it.  found by GCC 4.5.3.

diffstat:

 external/bsd/am-utils/dist/amd/conf_tok.l    |  3 ++-
 external/bsd/am-utils/dist/amd/sun_map_tok.l |  3 ++-
 external/bsd/am-utils/dist/fsinfo/fsi_lex.l  |  3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diffs (51 lines):

diff -r 566f0cbfe916 -r ffae32d06e78 external/bsd/am-utils/dist/amd/conf_tok.l
--- a/external/bsd/am-utils/dist/amd/conf_tok.l Wed Jun 22 03:58:24 2011 +0000
+++ b/external/bsd/am-utils/dist/amd/conf_tok.l Wed Jun 22 03:58:51 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf_tok.l,v 1.3 2009/03/20 20:30:52 christos Exp $    */
+/*     $NetBSD: conf_tok.l,v 1.4 2011/06/22 03:58:51 mrg Exp $ */
 
 %{
 /*
@@ -110,6 +110,7 @@
 /* This option causes Solaris lex to fail.  Use flex.  See BUGS file */
 /* no need to use yyunput() */
 %option nounput
+%option noinput
 
 /* allocate more output slots so lex scanners don't run out of mem */
 %o 1024
diff -r 566f0cbfe916 -r ffae32d06e78 external/bsd/am-utils/dist/amd/sun_map_tok.l
--- a/external/bsd/am-utils/dist/amd/sun_map_tok.l      Wed Jun 22 03:58:24 2011 +0000
+++ b/external/bsd/am-utils/dist/amd/sun_map_tok.l      Wed Jun 22 03:58:51 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sun_map_tok.l,v 1.3 2009/03/20 20:30:52 christos Exp $ */
+/*     $NetBSD: sun_map_tok.l,v 1.4 2011/06/22 03:58:52 mrg Exp $      */
 
 %{
 /*
@@ -145,6 +145,7 @@
 /* This option causes Solaris lex to fail.  Use flex.  See BUGS file */
 /* no need to use yyunput() */
 %option nounput
+%option noinput
 
 /* allocate more output slots so lex scanners don't run out of mem */
 %o 1024
diff -r 566f0cbfe916 -r ffae32d06e78 external/bsd/am-utils/dist/fsinfo/fsi_lex.l
--- a/external/bsd/am-utils/dist/fsinfo/fsi_lex.l       Wed Jun 22 03:58:24 2011 +0000
+++ b/external/bsd/am-utils/dist/fsinfo/fsi_lex.l       Wed Jun 22 03:58:51 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fsi_lex.l,v 1.3 2009/03/20 20:30:52 christos Exp $     */
+/*     $NetBSD: fsi_lex.l,v 1.4 2011/06/22 03:58:52 mrg Exp $  */
 
 %{
 /*
@@ -166,6 +166,7 @@
 /* This option causes Solaris lex to fail.  Use flex.  See BUGS file */
 /* no need to use yyunput() */
 %option nounput
+%option noinput
 
 /* allocate more output slots so lex scanners don't run out of mem */
 %o 1024



Home | Main Index | Thread Index | Old Index