Blame SOURCES/lua-5.3.4-bug1.patch

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