From eb7619b5d439ebec55c6db4ef4ee2d8629c0a472 Mon Sep 17 00:00:00 2001 From: Andreas Scherer Date: Mon, 27 Apr 2020 07:00:56 +0000 Subject: [CWEB] Use enum'erated program identifiers. git-svn-id: svn://tug.org/texlive/trunk@54904 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/cwebdir/comm-w2c.ch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Build/source/texk/web2c/cwebdir/comm-w2c.ch') diff --git a/Build/source/texk/web2c/cwebdir/comm-w2c.ch b/Build/source/texk/web2c/cwebdir/comm-w2c.ch index 236d8a95c8e..c0d66bb2c9c 100644 --- a/Build/source/texk/web2c/cwebdir/comm-w2c.ch +++ b/Build/source/texk/web2c/cwebdir/comm-w2c.ch @@ -44,16 +44,16 @@ @y |program|. And \.{CTWILL} adds some extra twists. -@d ctangle 0 -@d cweave 1 -@d ctwill 2 @z @x typedef short boolean; boolean program; /* \.{CWEAVE} or \.{CTANGLE}? */ @y -int program; /* \.{CWEAVE} or \.{CTANGLE} or \.{CTWILL}? */ +typedef enum { + ctangle, cweave, ctwill +} cweb; +cweb program; /* \.{CTANGLE} or \.{CWEAVE} or \.{CTWILL}? */ @z @x -- cgit v1.2.3