diff options
author | Andreas Scherer <andreas_tex@freenet.de> | 2022-03-10 10:50:21 +0000 |
---|---|---|
committer | Andreas Scherer <andreas_tex@freenet.de> | 2022-03-10 10:50:21 +0000 |
commit | d175af836458d771660138715f0a2bde9f3e4ced (patch) | |
tree | e4c65269e90847c4cc9a781556ef8a999ea90928 /Build/source/texk/web2c/cwebdir/cweav-w2c.ch | |
parent | 84d765e78c8984e8911848e0ce62ec17dfef541e (diff) |
[CWEB] Make 'fall thru' comments active.
This is specific for GCC, but totally harmless for any other C compiler:
GCC accepts 'fall thru' comments from the CWEB sources with its option
'-Wimplicit-fallthrough=2', when we push these comments over to the
tangled C code.
git-svn-id: svn://tug.org/texlive/trunk@62584 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/cwebdir/cweav-w2c.ch')
-rw-r--r-- | Build/source/texk/web2c/cwebdir/cweav-w2c.ch | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/cwebdir/cweav-w2c.ch b/Build/source/texk/web2c/cwebdir/cweav-w2c.ch index 80951343d37..2d9a5c24360 100644 --- a/Build/source/texk/web2c/cwebdir/cweav-w2c.ch +++ b/Build/source/texk/web2c/cwebdir/cweav-w2c.ch @@ -523,8 +523,10 @@ if (show_progress) fputs(_("\nWriting the output file..."),stdout); @z @x + } @=/* otherwise fall through */@> default: err_print("! Improper macro definition"); break; @y + } @=/* otherwise fall through */@> default: err_print(_("! Improper macro definition")); break; @z |