From: PatR Date: Sun, 14 Feb 2016 01:56:57 +0000 (-0800) Subject: dgn_comp,lev_comp lint X-Git-Tag: NetHack-3.6.1_RC01~927 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae5d556980456de72427aa2af80a360c718fbf2d;p=nethack dgn_comp,lev_comp lint Newer compiler found new things to complain about. NHinternal/shared/sys/share/flexhack.h has been updated. Generated sys/share/ sources have to be committed separately so they happen after this update fills in new banner comment for their source. --- diff --git a/util/dgn_comp.l b/util/dgn_comp.l index a18b5fefc..99c8527a1 100644 --- a/util/dgn_comp.l +++ b/util/dgn_comp.l @@ -1,5 +1,5 @@ %{ -/* NetHack 3.6 dgn_comp.l $NHDT-Date: 1449385184 2015/12/06 06:59:44 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.12 $ */ +/* NetHack 3.6 dgn_comp.l $NHDT-Date: 1455415007 2016/02/14 01:56:47 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.13 $ */ /* Copyright (c) 1989 by Jean-Christophe Collet */ /* Copyright (c) 1990 by M. Stephenson */ /* NetHack may be freely redistributed. See license for details. */ @@ -59,6 +59,7 @@ int FDECL(yyoutput, (int)); #else /* !FLEX_SCANNER && !FLEXHACK_SCANNER */ /* most recent flex allows suppressing yyunput() altogether when not needed */ #define YY_NO_UNPUT +#define YY_NO_INPUT #endif #if defined(FLEX_SCANNER) || defined(FLEXHACK_SCANNER) diff --git a/util/lev_comp.l b/util/lev_comp.l index 35f4eb252..d6ae1472e 100644 --- a/util/lev_comp.l +++ b/util/lev_comp.l @@ -1,5 +1,5 @@ %{ -/* NetHack 3.6 lev_comp.l $NHDT-Date: 1449385191 2015/12/06 06:59:51 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.22 $ */ +/* NetHack 3.6 lev_comp.l $NHDT-Date: 1455415007 2016/02/14 01:56:47 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.24 $ */ /* Copyright (c) 1989 by Jean-Christophe Collet */ /* NetHack may be freely redistributed. See license for details. */ @@ -57,6 +57,7 @@ int FDECL(yyoutput, (int)); #else /* !FLEX_SCANNER && !FLEXHACK_SCANNER */ /* most recent flex allows suppressing yyunput() altogether when not needed */ #define YY_NO_UNPUT +#define YY_NO_INPUT #endif #if defined(FLEX_SCANNER) || defined(FLEXHACK_SCANNER)