]> granicus.if.org Git - nethack/commitdiff
dgn_comp,lev_comp lint
authorPatR <rankin@nethack.org>
Sun, 14 Feb 2016 01:56:57 +0000 (17:56 -0800)
committerPatR <rankin@nethack.org>
Sun, 14 Feb 2016 01:56:57 +0000 (17:56 -0800)
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.

util/dgn_comp.l
util/lev_comp.l

index a18b5fefc8f52ca499b75b7ab07106ca80ffda27..99c8527a11b3e9d1d7eda993330da8e9d39b8ef1 100644 (file)
@@ -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)
index 35f4eb252d667c63f724fdab2b598ba9df20847d..d6ae1472ee43b3fbfbb03c19aa56df401fcdbfb9 100644 (file)
@@ -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)