summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/cwebboot.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/cwebboot.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/cwebboot.cin')
-rw-r--r--Build/source/texk/web2c/cwebboot.cin11
1 files changed, 5 insertions, 6 deletions
diff --git a/Build/source/texk/web2c/cwebboot.cin b/Build/source/texk/web2c/cwebboot.cin
index 069fa1c3a34..c3df99cb815 100644
--- a/Build/source/texk/web2c/cwebboot.cin
+++ b/Build/source/texk/web2c/cwebboot.cin
@@ -62,10 +62,6 @@ typedef bool boolean;
/*:90*/
#line 59 "cwebdir/common.w"
-#define ctangle 0
-#define cweave 1
-#define ctwill 2 \
-
#define and_and 04
#define lt_lt 020
#define gt_gt 021
@@ -188,8 +184,11 @@ err_print(_("! Include file name too long") ) ;goto restart;} \
/*2:*/
#line 73 "cwebdir/common.w"
-#line 56 "cwebdir/comm-w2c.ch"
-int program;
+#line 53 "cwebdir/comm-w2c.ch"
+typedef enum{
+ctangle,cweave,ctwill
+}cweb;
+cweb program;
#line 76 "cwebdir/common.w"
/*:2*//*6:*/