Module Name: src
Committed By: christos
Date: Wed Oct 28 19:43:56 UTC 2009
Modified Files:
src/sbin/wsconsctl: map_scan.l
Log Message:
add %option noyywrap
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sbin/wsconsctl/map_scan.l
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/wsconsctl/map_scan.l
diff -u src/sbin/wsconsctl/map_scan.l:1.4 src/sbin/wsconsctl/map_scan.l:1.5
--- src/sbin/wsconsctl/map_scan.l:1.4 Mon Apr 28 16:23:09 2008
+++ src/sbin/wsconsctl/map_scan.l Wed Oct 28 15:43:56 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: map_scan.l,v 1.4 2008/04/28 20:23:09 martin Exp $ */
+/* $NetBSD: map_scan.l,v 1.5 2009/10/28 19:43:56 christos Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -40,7 +40,6 @@
#include "wsconsctl.h"
#include "map_parse.h"
-#define yywrap() 1
void
map_scan_setinput(char *str)
@@ -51,6 +50,8 @@
%}
+%option noyywrap
+
%%
[ \t\n]+ {