summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/cwebdir/ctangle.c
diff options
context:
space:
mode:
authorAndreas Scherer <andreas_tex@freenet.de>2022-03-10 10:50:21 +0000
committerAndreas Scherer <andreas_tex@freenet.de>2022-03-10 10:50:21 +0000
commitd175af836458d771660138715f0a2bde9f3e4ced (patch)
treee4c65269e90847c4cc9a781556ef8a999ea90928 /Build/source/texk/web2c/cwebdir/ctangle.c
parent84d765e78c8984e8911848e0ce62ec17dfef541e (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/ctangle.c')
-rw-r--r--Build/source/texk/web2c/cwebdir/ctangle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/cwebdir/ctangle.c b/Build/source/texk/web2c/cwebdir/ctangle.c
index b6037a87dd9..bc00c0cf7f3 100644
--- a/Build/source/texk/web2c/cwebdir/ctangle.c
+++ b/Build/source/texk/web2c/cwebdir/ctangle.c
@@ -866,7 +866,7 @@ case string:if(out_state==verbatim)out_state= normal;
else out_state= verbatim;break;
case'/':C_putc('/');out_state= post_slash;break;
case'*':if(out_state==post_slash)C_putc(' ');
-
+/* fall through */
default:C_putc(cur_char);out_state= normal;break;
}
}
@@ -1627,7 +1627,7 @@ if(*(loc-1)!='>')
err_print("! Double @ should be used in control text");
break;
-}
+}/* otherwise fall through */
default:err_print("! Double @ should be used in limbo");
}