diff options
author | Andreas Scherer <andreas_tex@freenet.de> | 2020-08-01 12:01:34 +0000 |
---|---|---|
committer | Andreas Scherer <andreas_tex@freenet.de> | 2020-08-01 12:01:34 +0000 |
commit | 2b48c58a3269e00f95e2769500c0230b2b7f397a (patch) | |
tree | c318c9368cdcf720af8624d45c0579b23e0635cd /Build/source/texk/web2c/gftopk.ch | |
parent | 33b2e31d6d3f08f67bad4a8a66b6c38eeea3ab02 (diff) |
Purge non-local 'goto' labels in WEB programs.
If code and comment disagree, most likely they both are wrong. ;o)
git-svn-id: svn://tug.org/texlive/trunk@56013 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/gftopk.ch')
-rw-r--r-- | Build/source/texk/web2c/gftopk.ch | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/gftopk.ch b/Build/source/texk/web2c/gftopk.ch index 80f333e77e4..28f20a83b3a 100644 --- a/Build/source/texk/web2c/gftopk.ch +++ b/Build/source/texk/web2c/gftopk.ch @@ -87,6 +87,13 @@ a non-local goto, which we can't use in C. @z @x [8] Make `abort' end with a newline, and remove the nonlocal goto. +so a procedure called |jump_out| has been introduced. This procedure, which +simply transfers control to the label |final_end| at the end of the program, +contains the only non-local |goto| statement in \.{GFtoPK}. +@y +so a procedure called |jump_out| has been introduced. +@z +@x @d abort(#)==begin print(' ',#); jump_out; end @d bad_gf(#)==abort('Bad GF file: ',#,'!') |