From f725dde2599b1332560f2d2be2576714fc566b51 Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 12 Jun 2005 20:04:22 +0000 Subject: [PATCH] PR/30511: Nicolas Joly: lex(1) generated files lint warnings --- usr.bin/lex/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/lex/main.c b/usr.bin/lex/main.c index 5aa25bad8eb8..d39865644f98 100644 --- a/usr.bin/lex/main.c +++ b/usr.bin/lex/main.c @@ -32,7 +32,7 @@ char copyright[] = All rights reserved.\n"; #endif /* not lint */ -/* $NetBSD: main.c,v 1.15 2003/07/14 11:36:49 itojun Exp $ */ +/* $NetBSD: main.c,v 1.16 2005/06/12 20:04:22 christos Exp $ */ #include "flexdef.h" @@ -949,7 +949,7 @@ _( "Variable trailing context rules entail a large performance penalty\n" ) ); if ( ! do_yywrap ) { - outn( "\n#define yywrap() 1" ); + outn( "\n#define yywrap() (/*CONSTCOND*/1)" ); outn( "#define YY_SKIP_YYWRAP" ); }