aboutsummaryrefslogtreecommitdiffstats
path: root/module/lua
diff options
context:
space:
mode:
authorнаб <[email protected]>2021-06-05 15:07:38 +0200
committerBrian Behlendorf <[email protected]>2021-07-26 12:07:39 -0700
commit2c69ba6444ad5c1eb54342964149c3095504c401 (patch)
treef7e37056ce51f8c142c28b1fe82f103d31977ebb /module/lua
parent90f1c3c9467881ed76fd3a41719bf297e6de708b (diff)
Normalise /*FALLTHR{OUGH,U}*/
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Issue #12201
Diffstat (limited to 'module/lua')
-rw-r--r--module/lua/llex.c2
-rw-r--r--module/lua/ltable.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/module/lua/llex.c b/module/lua/llex.c
index 50c301f59..0c3488a55 100644
--- a/module/lua/llex.c
+++ b/module/lua/llex.c
@@ -477,7 +477,7 @@ static int llex (LexState *ls, SemInfo *seminfo) {
else if (!lisdigit(ls->current)) return '.';
/* else go through */
}
- /* FALLTHROUGH */
+ /* FALLTHROUGH */
case '0': case '1': case '2': case '3': case '4':
case '5': case '6': case '7': case '8': case '9': {
read_numeral(ls, seminfo);
diff --git a/module/lua/ltable.c b/module/lua/ltable.c
index f60418721..0ba462cfd 100644
--- a/module/lua/ltable.c
+++ b/module/lua/ltable.c
@@ -492,7 +492,7 @@ const TValue *luaH_get (Table *t, const TValue *key) {
return luaH_getint(t, k); /* use specialized version */
/* else go through */
}
- /* FALLTHROUGH */
+ /* FALLTHROUGH */
default: {
Node *n = mainposition(t, key);
do { /* check whether `key' is somewhere in the chain */