Module Name:    src
Committed By:   nonaka
Date:           Wed May 18 12:10:23 UTC 2011

Modified Files:
        src/sys/arch/hpc/hpc/platid_gen: scan.l

Log Message:
Use "option noyywrap".


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/hpc/hpc/platid_gen/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/sys/arch/hpc/hpc/platid_gen/scan.l
diff -u src/sys/arch/hpc/hpc/platid_gen/scan.l:1.4 src/sys/arch/hpc/hpc/platid_gen/scan.l:1.5
--- src/sys/arch/hpc/hpc/platid_gen/scan.l:1.4	Sun Feb 19 13:06:06 2006
+++ src/sys/arch/hpc/hpc/platid_gen/scan.l	Wed May 18 12:10:22 2011
@@ -1,5 +1,5 @@
 %{
-/*	$NetBSD: scan.l,v 1.4 2006/02/19 13:06:06 peter Exp $	*/
+/*	$NetBSD: scan.l,v 1.5 2011/05/18 12:10:22 nonaka Exp $	*/
 
 /*-
  * Copyright (c) 1999
@@ -43,11 +43,10 @@
 int	yyline;
 char	*getstr(char *);
 void	getcomment(void);
-
-#define	yywrap() 1
-
 %}
 
+%option	noyywrap
+
 %%
 #[^\n]*\n		{ yylval.str = strdup(yytext); yyline++; return DIRECTIVE; }
 \"([^"]|\\\")*\"	{ yylval.str = getstr(yytext); return NAME; }

Reply via email to