summaryrefslogtreecommitdiff
path: root/server/src/service.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/service.lua')
-rw-r--r--server/src/service.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/service.lua b/server/src/service.lua
index 1aa13417..96eafc1e 100644
--- a/server/src/service.lua
+++ b/server/src/service.lua
@@ -263,7 +263,7 @@ function mt:loadVM(uri)
return nil
end
self:compileVM(uri)
- return obj.vm, obj.lines
+ return obj.vm, obj.lines, obj.text
end
function mt:_markCompiled(uri)
@@ -363,7 +363,7 @@ function mt:getVM(uri)
if not obj then
return nil
end
- return obj.vm
+ return obj.vm, obj.lines, obj.text
end
function mt:getAstErrors(uri)