Skip to content

Commit a4a7369

Browse files
committed
fix indent fixing for while
1 parent b9faa87 commit a4a7369

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/parser/compile.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3743,7 +3743,7 @@ local function parseWhile()
37433743
local left = getPosition(Tokens[Index], 'left')
37443744
local right = getPosition(Tokens[Index] + #doToken - 1, 'right')
37453745
action.finish = left
3746-
action.bstart = action.finish
3746+
action.bstart = right
37473747
action.keyword[#action.keyword+1] = left
37483748
action.keyword[#action.keyword+1] = right
37493749
if doToken == 'then' then

0 commit comments

Comments
 (0)