summaryrefslogtreecommitdiff
path: root/server-beta/src/parser/ast.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server-beta/src/parser/ast.lua')
-rw-r--r--server-beta/src/parser/ast.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server-beta/src/parser/ast.lua b/server-beta/src/parser/ast.lua
index a54ef937..a87d9acc 100644
--- a/server-beta/src/parser/ast.lua
+++ b/server-beta/src/parser/ast.lua
@@ -706,7 +706,7 @@ local Defs = {
type = 'binary',
op = op,
start = left.start,
- finish = right.finish,
+ finish = right and right.finish or op.finish,
[1] = left,
[2] = right,
}