summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/cwebboot.cin
diff options
context:
space:
mode:
authorAndreas Scherer <andreas_tex@freenet.de>2021-12-26 13:44:30 +0000
committerAndreas Scherer <andreas_tex@freenet.de>2021-12-26 13:44:30 +0000
commit072ecf41200a568426414e62b729e04dde6cb879 (patch)
tree641468cc7313ff459718160a0877bc0b4073b319 /Build/source/texk/web2c/cwebboot.cin
parent8c53c10ac2ba6da709122053e1589e139beedac8 (diff)
[CWEB] New release 4.6.
Major changes since CWEB 4.5: * Restore '\T' macro backward compatibility. CWEB 4.3 introduced a major change in the '\T' macro to allow C++ 'hex exponent' notation (e.g., 0x1FFFFp10). This made CWEAVE/CTWILL mutually incompatible with non-matching versions of their set of macros and v.v. This release tries to reestablish the standard behavior at least for numeric constants. Of course, 'old' CWEAVE/CTWILL won't deliver on 'hex exponents' in the CWEB input, but those should be rare anyway. * Restore 'classic' PDF page dimensions. Heiko's PDF files of 2014 used 'Executive' page dimensions, i.e., 7.5in times 10in. C/WEB's internal inch values suggest to use those plus a 0.5in border on each side. * Revert meaning of option 'c'. Option 'c' is OFF by default to avoid spurious entries in build.log. * 'squash'/'reduce' have been straightened out for k=1,..,4. * Code beautifications for 'make fullmanual'. * Code cleanup for internal reasons. * Cleanup in 'prod.w' (indentation et al.). * New 'prod-cweave.w' (along 'prod-twill.w') for material from CWEBbin. * Fixes for option '-o' (didn't work as advertised in border cases). * New signature for the 'make_ministring' function in CTWILL. git-svn-id: svn://tug.org/texlive/trunk@61411 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/cwebboot.cin')
-rw-r--r--Build/source/texk/web2c/cwebboot.cin42
1 files changed, 21 insertions, 21 deletions
diff --git a/Build/source/texk/web2c/cwebboot.cin b/Build/source/texk/web2c/cwebboot.cin
index 6cc9cfb0aae..29a1c3fe915 100644
--- a/Build/source/texk/web2c/cwebboot.cin
+++ b/Build/source/texk/web2c/cwebboot.cin
@@ -2,7 +2,15 @@
#line 62 "cwebdir/common.w"
/*3:*/
-#line 51 "cwebdir/comm-w2c.h"
+#line 54 "cwebdir/comm-w2c.h"
+
+#include <ctype.h>
+#include <kpathsea/simpletypes.h>
+#include <stddef.h>
+#include <stdint.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#ifndef HAVE_GETTEXT
#define HAVE_GETTEXT 0
@@ -14,14 +22,6 @@
#define gettext(a) a
#endif
-#include <ctype.h>
-#include <kpathsea/simpletypes.h>
-#include <stddef.h>
-#include <stdint.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
/*:3*//*91:*/
#line 739 "cwebdir/comm-w2c.ch"
@@ -184,7 +184,7 @@ extern cweb program;
extern int phase;
/*:2*//*4:*/
-#line 91 "cwebdir/comm-w2c.h"
+#line 94 "cwebdir/comm-w2c.h"
extern char section_text[];
extern char*section_text_end;
@@ -192,7 +192,7 @@ extern char*id_first;
extern char*id_loc;
/*:4*//*5:*/
-#line 109 "cwebdir/comm-w2c.h"
+#line 112 "cwebdir/comm-w2c.h"
extern char buffer[];
extern char*buffer_end;
@@ -200,7 +200,7 @@ extern char*loc;
extern char*limit;
/*:5*//*6:*/
-#line 126 "cwebdir/comm-w2c.h"
+#line 129 "cwebdir/comm-w2c.h"
extern int include_depth;
extern FILE*file[];
@@ -217,7 +217,7 @@ extern boolean changing;
extern boolean web_file_open;
/*:6*//*8:*/
-#line 147 "cwebdir/comm-w2c.h"
+#line 150 "cwebdir/comm-w2c.h"
extern sixteen_bits section_count;
extern boolean changed_section[];
@@ -225,7 +225,7 @@ extern boolean change_pending;
extern boolean print_where;
/*:8*//*9:*/
-#line 161 "cwebdir/comm-w2c.h"
+#line 164 "cwebdir/comm-w2c.h"
typedef struct name_info{
char*byte_start;
@@ -250,12 +250,12 @@ extern hash_pointer hash_end;
extern hash_pointer h;
/*:9*//*11:*/
-#line 205 "cwebdir/comm-w2c.h"
+#line 208 "cwebdir/comm-w2c.h"
extern int history;
/*:11*//*13:*/
-#line 222 "cwebdir/comm-w2c.h"
+#line 225 "cwebdir/comm-w2c.h"
extern int argc;
extern char**argv;
@@ -267,7 +267,7 @@ extern boolean flags[];
extern const char*use_language;
/*:13*//*14:*/
-#line 237 "cwebdir/comm-w2c.h"
+#line 240 "cwebdir/comm-w2c.h"
extern FILE*C_file;
extern FILE*tex_file;
@@ -414,14 +414,14 @@ char separators[]= SEPARATORS;
#line 66 "cwebdir/common.w"
/*7:*/
-#line 141 "cwebdir/comm-w2c.h"
+#line 144 "cwebdir/comm-w2c.h"
extern boolean get_line(void);
extern void check_complete(void);
extern void reset_input(void);
/*:7*//*10:*/
-#line 184 "cwebdir/comm-w2c.h"
+#line 187 "cwebdir/comm-w2c.h"
extern boolean names_match(name_pointer,const char*,size_t,eight_bits);
extern name_pointer id_lookup(const char*,const char*,eight_bits);
@@ -434,7 +434,7 @@ extern void print_section_name(name_pointer);
extern void sprint_section_name(char*,name_pointer);
/*:10*//*12:*/
-#line 208 "cwebdir/comm-w2c.h"
+#line 211 "cwebdir/comm-w2c.h"
extern int wrap_up(void);
extern void err_print(const char*);
@@ -442,7 +442,7 @@ extern void fatal(const char*,const char*);
extern void overflow(const char*);
/*:12*//*15:*/
-#line 246 "cwebdir/comm-w2c.h"
+#line 249 "cwebdir/comm-w2c.h"
extern void common_init(void);
extern void print_stats(void);