diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-08-12 10:12:21 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-08-12 10:12:21 -0300 |
| commit | b77f792b23fa4fe12918659d61961b2a50d151d0 (patch) | |
| tree | c26c831dbdb562a241db31aa0fa2264f70f40aeb | |
| parent | 4053eae9ebbf14963a388ba864454f9e4ec16663 (diff) | |
| download | lua-b77f792b23fa4fe12918659d61961b2a50d151d0.tar.gz lua-b77f792b23fa4fe12918659d61961b2a50d151d0.tar.bz2 lua-b77f792b23fa4fe12918659d61961b2a50d151d0.zip | |
comment
| -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.161 2017/06/29 15:06:44 roberto Exp roberto $ | 2 | ** $Id: lparser.c,v 2.162 2017/06/29 15:38:41 roberto Exp roberto $ |
| 3 | ** Lua Parser | 3 | ** Lua Parser |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -1411,7 +1411,7 @@ static void test_then_block (LexState *ls, int *escapelist) { | |||
| 1411 | luaK_goiffalse(ls->fs, &v); /* will jump to label if condition is true */ | 1411 | luaK_goiffalse(ls->fs, &v); /* will jump to label if condition is true */ |
| 1412 | enterblock(fs, &bl, 0); /* must enter block before 'goto' */ | 1412 | enterblock(fs, &bl, 0); /* must enter block before 'goto' */ |
| 1413 | gotostat(ls, v.t); /* handle goto/break */ | 1413 | gotostat(ls, v.t); /* handle goto/break */ |
| 1414 | while (testnext(ls, ';')) {} /* skip colons */ | 1414 | while (testnext(ls, ';')) {} /* skip semicolons */ |
| 1415 | if (block_follow(ls, 0)) { /* 'goto' is the entire block? */ | 1415 | if (block_follow(ls, 0)) { /* 'goto' is the entire block? */ |
| 1416 | leaveblock(fs); | 1416 | leaveblock(fs); |
| 1417 | return; /* and that is it */ | 1417 | return; /* and that is it */ |
