summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rw-r--r--script/parser/newparser.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/newparser.lua b/script/parser/newparser.lua
index 1b02a5d9..07e7c11e 100644
--- a/script/parser/newparser.lua
+++ b/script/parser/newparser.lua
@@ -1595,7 +1595,7 @@ local function parseTable()
break
::CONTINUE::
end
- tbl.finish = getPosition(Tokens[Index - 2], 'right')
+ tbl.finish = lastRightPosition()
return tbl
end