diff options
author | Andreas Scherer <andreas_tex@freenet.de> | 2021-12-26 13:44:30 +0000 |
---|---|---|
committer | Andreas Scherer <andreas_tex@freenet.de> | 2021-12-26 13:44:30 +0000 |
commit | 072ecf41200a568426414e62b729e04dde6cb879 (patch) | |
tree | 641468cc7313ff459718160a0877bc0b4073b319 /Build/source/texk/web2c/ctangleboot.cin | |
parent | 8c53c10ac2ba6da709122053e1589e139beedac8 (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/ctangleboot.cin')
-rw-r--r-- | Build/source/texk/web2c/ctangleboot.cin | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/Build/source/texk/web2c/ctangleboot.cin b/Build/source/texk/web2c/ctangleboot.cin index 291d08e358c..8c346559f8f 100644 --- a/Build/source/texk/web2c/ctangleboot.cin +++ b/Build/source/texk/web2c/ctangleboot.cin @@ -2,7 +2,15 @@ #line 66 "cwebdir/ctangle.w" /*4:*/ -#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,18 +22,10 @@ #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> - /*:4*/ #line 67 "cwebdir/ctangle.w" -#define banner "This is CTANGLE, Version 4.5" \ +#define banner "This is CTANGLE, Version 4.6" \ \ #define _(s) gettext(s) \ @@ -178,7 +178,7 @@ extern cweb program; extern int phase; /*:3*//*5:*/ -#line 91 "cwebdir/comm-w2c.h" +#line 94 "cwebdir/comm-w2c.h" extern char section_text[]; extern char*section_text_end; @@ -186,7 +186,7 @@ extern char*id_first; extern char*id_loc; /*:5*//*6:*/ -#line 109 "cwebdir/comm-w2c.h" +#line 112 "cwebdir/comm-w2c.h" extern char buffer[]; extern char*buffer_end; @@ -194,7 +194,7 @@ extern char*loc; extern char*limit; /*:6*//*7:*/ -#line 126 "cwebdir/comm-w2c.h" +#line 129 "cwebdir/comm-w2c.h" extern int include_depth; extern FILE*file[]; @@ -211,7 +211,7 @@ extern boolean changing; extern boolean web_file_open; /*:7*//*9:*/ -#line 147 "cwebdir/comm-w2c.h" +#line 150 "cwebdir/comm-w2c.h" extern sixteen_bits section_count; extern boolean changed_section[]; @@ -219,7 +219,7 @@ extern boolean change_pending; extern boolean print_where; /*:9*//*10:*/ -#line 161 "cwebdir/comm-w2c.h" +#line 164 "cwebdir/comm-w2c.h" typedef struct name_info{ char*byte_start; @@ -244,12 +244,12 @@ extern hash_pointer hash_end; extern hash_pointer h; /*:10*//*12:*/ -#line 205 "cwebdir/comm-w2c.h" +#line 208 "cwebdir/comm-w2c.h" extern int history; /*:12*//*14:*/ -#line 222 "cwebdir/comm-w2c.h" +#line 225 "cwebdir/comm-w2c.h" extern int argc; extern char**argv; @@ -261,7 +261,7 @@ extern boolean flags[]; extern const char*use_language; /*:14*//*15:*/ -#line 237 "cwebdir/comm-w2c.h" +#line 240 "cwebdir/comm-w2c.h" extern FILE*C_file; extern FILE*tex_file; @@ -382,14 +382,14 @@ static eight_bits next_control; #line 71 "cwebdir/ctangle.w" /*8:*/ -#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); /*:8*//*11:*/ -#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); @@ -402,7 +402,7 @@ extern void print_section_name(name_pointer); extern void sprint_section_name(char*,name_pointer); /*:11*//*13:*/ -#line 208 "cwebdir/comm-w2c.h" +#line 211 "cwebdir/comm-w2c.h" extern int wrap_up(void); extern void err_print(const char*); @@ -410,7 +410,7 @@ extern void fatal(const char*,const char*); extern void overflow(const char*); /*:13*//*16:*/ -#line 246 "cwebdir/comm-w2c.h" +#line 249 "cwebdir/comm-w2c.h" extern void common_init(void); extern void print_stats(void); |