Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/wsconsctl add %option noyywrap
details: https://anonhg.NetBSD.org/src/rev/d947d86511ff
branches: trunk
changeset: 748595:d947d86511ff
user: christos <christos%NetBSD.org@localhost>
date: Wed Oct 28 19:43:56 2009 +0000
description:
add %option noyywrap
diffstat:
sbin/wsconsctl/map_scan.l | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 06fb58691f28 -r d947d86511ff sbin/wsconsctl/map_scan.l
--- a/sbin/wsconsctl/map_scan.l Wed Oct 28 19:18:15 2009 +0000
+++ b/sbin/wsconsctl/map_scan.l Wed Oct 28 19:43:56 2009 +0000
@@ -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]+ {
Home |
Main Index |
Thread Index |
Old Index