Blame SOURCES/lua-5.3.4-bug1.patch

e6e9ea
diff -up lua-5.3.4/src/lparser.c.bug1 lua-5.3.4/src/lparser.c
e6e9ea
--- lua-5.3.4/src/lparser.c.bug1	2017-08-02 16:03:43.730247916 -0400
e6e9ea
+++ lua-5.3.4/src/lparser.c	2017-08-02 16:03:56.507957260 -0400
e6e9ea
@@ -1392,7 +1392,7 @@ static void test_then_block (LexState *l
e6e9ea
     luaK_goiffalse(ls->fs, &v);  /* will jump to label if condition is true */
e6e9ea
     enterblock(fs, &bl, 0);  /* must enter block before 'goto' */
e6e9ea
     gotostat(ls, v.t);  /* handle goto/break */
e6e9ea
-    skipnoopstat(ls);  /* skip other no-op statements */
e6e9ea
+    while (testnext(ls, ';')) {}  /* skip colons */
e6e9ea
     if (block_follow(ls, 0)) {  /* 'goto' is the entire block? */
e6e9ea
       leaveblock(fs);
e6e9ea
       return;  /* and that is it */