texlive[62160] Build/source/texk/web2c/hitexdir: Fixing undefined int

commits+mruckert at tug.org commits+mruckert at tug.org
Thu Feb 24 11:33:40 CET 2022


Revision: 62160
          http://tug.org/svn/texlive?view=revision&revision=62160
Author:   mruckert
Date:     2022-02-24 11:33:40 +0100 (Thu, 24 Feb 2022)
Log Message:
-----------
Fixing undefined int yydebug if compiling without -DDEBUG

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/hitexdir/hiformat.hnt
    trunk/Build/source/texk/web2c/hitexdir/hiformat.pdf
    trunk/Build/source/texk/web2c/hitexdir/hiformat.w
    trunk/Build/source/texk/web2c/hitexdir/hilexer.c
    trunk/Build/source/texk/web2c/hitexdir/hiparser.c
    trunk/Build/source/texk/web2c/hitexdir/hiparser.h

Modified: trunk/Build/source/texk/web2c/hitexdir/hiformat.hnt
===================================================================
(Binary files differ)

Modified: trunk/Build/source/texk/web2c/hitexdir/hiformat.pdf
===================================================================
(Binary files differ)

Modified: trunk/Build/source/texk/web2c/hitexdir/hiformat.w
===================================================================
--- trunk/Build/source/texk/web2c/hitexdir/hiformat.w	2022-02-24 00:49:56 UTC (rev 62159)
+++ trunk/Build/source/texk/web2c/hitexdir/hiformat.w	2022-02-24 10:33:40 UTC (rev 62160)
@@ -47,9 +47,9 @@
 
 
 \def\setrevision$#1: #2 ${\gdef\lastrevision{#2}}
-\setrevision$Revision: 2690 $
+\setrevision$Revision: 2696 $
 \def\setdate$#1(#2) ${\gdef\lastdate{#2}}
-\setdate$Date: 2022-02-22 16:40:16 +0100 (Tue, 22 Feb 2022) $
+\setdate$Date: 2022-02-24 10:59:11 +0100 (Thu, 24 Feb 2022) $
 
 \null
 
@@ -9219,8 +9219,7 @@
 It inherits its name from the input file name.
 
 @<open the log file@> =
-#ifdef DEBUG
-  if (option_log)
+if (option_log)
   { 
     strcat(stem_name,".log");
     hlog=freopen(stem_name,"w",stderr);
@@ -9230,11 +9229,8 @@
     }
     stem_name[stem_length]=0;
   }
-  else
-    hlog=stderr;
-#else
-    hlog=stderr; 
-#endif
+else
+  hlog=stderr;
 @
 
 Once we have established logging, we can try to open the other files.
@@ -9322,7 +9318,7 @@
 #ifdef DEBUG
 #define @[DBG(FLAGS,...)@] ((debugflags & (FLAGS))?LOG(__VA_ARGS__):0)
 #else
-#define @[DBG(FLAGS,...)@] 0
+#define @[DBG(FLAGS,...)@] (void)0
 #endif
 #define @[DBGTAG(A,P)@] @[DBG(DBGTAGS,@["tag [%s,%d] at " SIZE_F "\n"@],@|NAME(A),INFO(A),(P)-hstart)@]
 
@@ -10826,6 +10822,8 @@
 #include "hierror.h"
 #include "hiformat.h"
 #include "hiput.h"
+
+@<enable bison debugging@>@;
 #include "hiparser.h"
 
 extern void yyset_debug(int lex_debug);

Modified: trunk/Build/source/texk/web2c/hitexdir/hilexer.c
===================================================================
--- trunk/Build/source/texk/web2c/hitexdir/hilexer.c	2022-02-24 00:49:56 UTC (rev 62159)
+++ trunk/Build/source/texk/web2c/hitexdir/hilexer.c	2022-02-24 10:33:40 UTC (rev 62160)
@@ -849,7 +849,7 @@
 #line 1 "lexer.l"
 #line 2 "lexer.l"
 	/*519:*/
-	#line 10726 "format.w"
+	#line 10722 "format.w"
 	
 #include "hibasetypes.h"
 #include "hierror.h"
@@ -985,7 +985,7 @@
 	}
 	/*:61*/
 int yywrap(void){
-	#line 10737 "format.w"
+	#line 10733 "format.w"
 	return 1;}
 #ifdef _MSC_VER
 #pragma  warning( disable : 4267)

Modified: trunk/Build/source/texk/web2c/hitexdir/hiparser.c
===================================================================
--- trunk/Build/source/texk/web2c/hitexdir/hiparser.c	2022-02-24 00:49:56 UTC (rev 62159)
+++ trunk/Build/source/texk/web2c/hitexdir/hiparser.c	2022-02-24 10:33:40 UTC (rev 62160)
@@ -69,7 +69,7 @@
 /* First part of user prologue.  */
 #line 2 "parser.y"
 
-	#line 10767 "format.w"
+	#line 10763 "format.w"
 	
 #include "hibasetypes.h"
 #include <string.h>
@@ -132,7 +132,7 @@
 extern int yylineno;
 int yyerror(const char*msg)
 {
-	#line 9341 "format.w"
+	#line 9337 "format.w"
 	QUIT(" in line %d %s",yylineno,msg);
 	return 0;
 	}

Modified: trunk/Build/source/texk/web2c/hitexdir/hiparser.h
===================================================================
--- trunk/Build/source/texk/web2c/hitexdir/hiparser.h	2022-02-24 00:49:56 UTC (rev 62159)
+++ trunk/Build/source/texk/web2c/hitexdir/hiparser.h	2022-02-24 10:33:40 UTC (rev 62160)
@@ -149,7 +149,7 @@
 {
 #line 79 "parser.y"
 
-	#line 10792 "format.w"
+	#line 10788 "format.w"
 	uint32_t u;  int32_t i;  char *s;  float64_t f;  Glyph c;
 	Dimen d;Stretch st;Xdimen xd;Kern kt;
 	Rule r;Glue g;Image x;



More information about the tex-live-commits mailing list.