summaryrefslogtreecommitdiffstats
path: root/generic/regcomp.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-08-23 10:01:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-08-23 10:01:35 (GMT)
commit4c3b4b2a2b133094b98d27616e7728d99097a57f (patch)
treef3091f50d9f67873f294f31607b967d09541c63b /generic/regcomp.c
parentd0288f61d325f0fca40f7b1284e05378c849a42e (diff)
downloadtcl-4c3b4b2a2b133094b98d27616e7728d99097a57f.zip
tcl-4c3b4b2a2b133094b98d27616e7728d99097a57f.tar.gz
tcl-4c3b4b2a2b133094b98d27616e7728d99097a57f.tar.bz2
Add FALLTHRU markers, to help GCC emit less false warnings
Diffstat (limited to 'generic/regcomp.c')
-rw-r--r--generic/regcomp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/regcomp.c b/generic/regcomp.c
index fda40e0..1a3e334 100644
--- a/generic/regcomp.c
+++ b/generic/regcomp.c
@@ -605,7 +605,7 @@ makesearch(
break;
}
}
-
+
/*
* We want to mark states as being in the list already by having non
* NULL tmp fields, but we can't just store the old slist value in tmp
@@ -922,7 +922,7 @@ parseqatom(
*/
NOTE(REG_UPBOTCH);
- /* fallthrough into case PLAIN */
+ /* FALLTHRU */
case PLAIN:
onechr(v, v->nextvalue, lp, rp);
okcolors(v->nfa, v->cm);