summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/ctangleboot.cin
diff options
context:
space:
mode:
authorAndreas Scherer <andreas_tex@freenet.de>2020-04-27 07:00:56 +0000
committerAndreas Scherer <andreas_tex@freenet.de>2020-04-27 07:00:56 +0000
commiteb7619b5d439ebec55c6db4ef4ee2d8629c0a472 (patch)
tree2e24e2594b61b583572a79fa752eb069617ee88b /Build/source/texk/web2c/ctangleboot.cin
parent6c8d51ce2934a68461466169469be2ce0ec40f9b (diff)
[CWEB] Use enum'erated program identifiers.
git-svn-id: svn://tug.org/texlive/trunk@54904 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/ctangleboot.cin')
-rw-r--r--Build/source/texk/web2c/ctangleboot.cin11
1 files changed, 5 insertions, 6 deletions
diff --git a/Build/source/texk/web2c/ctangleboot.cin b/Build/source/texk/web2c/ctangleboot.cin
index e5fdf4dcb34..0bae9ddc675 100644
--- a/Build/source/texk/web2c/ctangleboot.cin
+++ b/Build/source/texk/web2c/ctangleboot.cin
@@ -47,10 +47,6 @@
#define stack_size 50
#define buf_size 1000 \
-#define ctangle 0
-#define cweave 1
-#define ctwill 2 \
-
#define _(STRING) gettext(STRING) \
#define and_and 04
@@ -166,12 +162,15 @@
#line 66 "cwebdir/ctangle.w"
/*5:*/
-#line 37 "cwebdir/comm-w2c.h"
+#line 34 "cwebdir/comm-w2c.h"
typedef bool boolean;
typedef uint8_t eight_bits;
typedef uint16_t sixteen_bits;
-extern int program;
+typedef enum{
+ctangle,cweave,ctwill
+}cweb;
+extern cweb program;
extern int phase;
/*:5*//*7:*/