diff options
Diffstat (limited to 'server-beta/src/parser/ast.lua')
-rw-r--r-- | server-beta/src/parser/ast.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/server-beta/src/parser/ast.lua b/server-beta/src/parser/ast.lua index 953cac67..a54ef937 100644 --- a/server-beta/src/parser/ast.lua +++ b/server-beta/src/parser/ast.lua @@ -80,7 +80,12 @@ local function checkMissEnd(start) if not finish then return end - err.info.related = { start, finish } + err.info.related = { + { + start = start, + finish = finish, + } + } PushError { type = 'MISS_END', start = start, |