Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/lex PR/30511: Nicolas Joly: lex(1) generated files l...



details:   https://anonhg.NetBSD.org/src/rev/b5e1815b0f00
branches:  trunk
changeset: 581979:b5e1815b0f00
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jun 12 20:04:22 2005 +0000

description:
PR/30511: Nicolas Joly: lex(1) generated files lint warnings

diffstat:

 usr.bin/lex/main.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r eaefabe38ee7 -r b5e1815b0f00 usr.bin/lex/main.c
--- a/usr.bin/lex/main.c        Sun Jun 12 19:46:15 2005 +0000
+++ b/usr.bin/lex/main.c        Sun Jun 12 20:04:22 2005 +0000
@@ -32,7 +32,7 @@
  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 @@
 
        if ( ! do_yywrap )
                {
-               outn( "\n#define yywrap() 1" );
+               outn( "\n#define yywrap() (/*CONSTCOND*/1)" );
                outn( "#define YY_SKIP_YYWRAP" );
                }
 



Home | Main Index | Thread Index | Old Index