diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-12-17 14:46:37 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-12-17 14:46:37 -0200 |
commit | 063d4e4543088e7a21965bda8ee5a0f952a9029e (patch) | |
tree | 6c3f2f8e98c26f071a94a32f9f2754396a66a9de /lparser.c | |
parent | e354c6355e7f48e087678ec49e340ca0696725b1 (diff) | |
download | lua-5.3.5.tar.gz lua-5.3.5.tar.bz2 lua-5.3.5.zip |
Lua 5.3.5 ported to gitv5.3.5
This is the first commit for the branch Lua 5.3. All source files
were copied from the official distribution of 5.3.5 in the Lua site.
The test files are the same of 5.3.4. The manual came from the
previous RCS repository, revision 1.167.1.2.
Diffstat (limited to '')
-rw-r--r-- | lparser.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lparser.c,v 2.154 2016/06/22 15:48:25 roberto Exp roberto $ | 2 | ** $Id: lparser.c,v 2.155.1.2 2017/04/29 18:11:40 roberto Exp $ |
3 | ** Lua Parser | 3 | ** Lua Parser |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -1392,7 +1392,7 @@ static void test_then_block (LexState *ls, int *escapelist) { | |||
1392 | luaK_goiffalse(ls->fs, &v); /* will jump to label if condition is true */ | 1392 | luaK_goiffalse(ls->fs, &v); /* will jump to label if condition is true */ |
1393 | enterblock(fs, &bl, 0); /* must enter block before 'goto' */ | 1393 | enterblock(fs, &bl, 0); /* must enter block before 'goto' */ |
1394 | gotostat(ls, v.t); /* handle goto/break */ | 1394 | gotostat(ls, v.t); /* handle goto/break */ |
1395 | skipnoopstat(ls); /* skip other no-op statements */ | 1395 | while (testnext(ls, ';')) {} /* skip colons */ |
1396 | if (block_follow(ls, 0)) { /* 'goto' is the entire block? */ | 1396 | if (block_follow(ls, 0)) { /* 'goto' is the entire block? */ |
1397 | leaveblock(fs); | 1397 | leaveblock(fs); |
1398 | return; /* and that is it */ | 1398 | return; /* and that is it */ |