summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/cwebdir/comm-w2c.ch
diff options
context:
space:
mode:
authorAndreas Scherer <andreas_tex@freenet.de>2020-04-27 08:14:25 +0000
committerAndreas Scherer <andreas_tex@freenet.de>2020-04-27 08:14:25 +0000
commitb01f5b75cfc4ddfbe1377e090c64700763560df7 (patch)
tree3ad38173e94181fbe702e495ecddeb315b35b388 /Build/source/texk/web2c/cwebdir/comm-w2c.ch
parenteb7619b5d439ebec55c6db4ef4ee2d8629c0a472 (diff)
[CWEB] Reshuffle typedef's in COMMON.
'eight_bits' is already used in §7 of COMMON. Moving this typedef (and sixteen_bits) up-front fixes the formatting of that section. Also, this makes §2 of COMMON similar to $5 of CTANGLE and CWEAVE. git-svn-id: svn://tug.org/texlive/trunk@54905 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/cwebdir/comm-w2c.ch')
-rw-r--r--Build/source/texk/web2c/cwebdir/comm-w2c.ch10
1 files changed, 7 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/cwebdir/comm-w2c.ch b/Build/source/texk/web2c/cwebdir/comm-w2c.ch
index c0d66bb2c9c..4df7a80ebe4 100644
--- a/Build/source/texk/web2c/cwebdir/comm-w2c.ch
+++ b/Build/source/texk/web2c/cwebdir/comm-w2c.ch
@@ -43,11 +43,17 @@
@d cweave 1
@y
|program|. And \.{CTWILL} adds some extra twists.
-
@z
@x
typedef short boolean;
+@y
+typedef bool boolean;
+typedef uint8_t eight_bits;
+typedef uint16_t sixteen_bits;
+@z
+
+@x
boolean program; /* \.{CWEAVE} or \.{CTANGLE}? */
@y
typedef enum {
@@ -273,8 +279,6 @@ if ((found_filename=kpse_find_cweb(change_file_name))==NULL || @|
@x
typedef unsigned short sixteen_bits;
@y
-typedef uint8_t eight_bits;
-typedef uint16_t sixteen_bits;
@z
@x