Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/net use %option noinput



details:   https://anonhg.NetBSD.org/src/rev/5cd99c351d1e
branches:  trunk
changeset: 759398:5cd99c351d1e
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Dec 08 03:19:19 2010 +0000

description:
use %option noinput

diffstat:

 lib/libc/net/nslexer.l |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (32 lines):

diff -r 6088a8ea6676 -r 5cd99c351d1e lib/libc/net/nslexer.l
--- a/lib/libc/net/nslexer.l    Wed Dec 08 02:07:25 2010 +0000
+++ b/lib/libc/net/nslexer.l    Wed Dec 08 03:19:19 2010 +0000
@@ -1,5 +1,5 @@
 %{
-/*     $NetBSD: nslexer.l,v 1.10 2010/12/08 02:05:39 joerg Exp $       */
+/*     $NetBSD: nslexer.l,v 1.11 2010/12/08 03:19:19 christos Exp $    */
 
 /*-
  * Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: nslexer.l,v 1.10 2010/12/08 02:05:39 joerg Exp $");
+__RCSID("$NetBSD: nslexer.l,v 1.11 2010/12/08 03:19:19 christos Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include "namespace.h"
@@ -44,11 +44,9 @@
 
 #include "nsparser.h"
 
-#define        YY_NO_INPUT
-
 %}
 
-%option yylineno nounput
+%option yylineno nounput noinput
 %option never-interactive
 
 BLANK          [ \t]



Home | Main Index | Thread Index | Old Index