Module Name:    src
Committed By:   christos
Date:           Wed Dec  8 03:19:20 UTC 2010

Modified Files:
        src/lib/libc/net: nslexer.l

Log Message:
use %option noinput


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/lib/libc/net/nslexer.l

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/net/nslexer.l
diff -u src/lib/libc/net/nslexer.l:1.10 src/lib/libc/net/nslexer.l:1.11
--- src/lib/libc/net/nslexer.l:1.10	Tue Dec  7 21:05:39 2010
+++ src/lib/libc/net/nslexer.l	Tue Dec  7 22:19:19 2010
@@ -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]

Reply via email to