summaryrefslogtreecommitdiff
path: root/server-beta/src/brave
diff options
context:
space:
mode:
Diffstat (limited to 'server-beta/src/brave')
-rw-r--r--server-beta/src/brave/init.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/server-beta/src/brave/init.lua b/server-beta/src/brave/init.lua
index aac92a38..b87d54d8 100644
--- a/server-beta/src/brave/init.lua
+++ b/server-beta/src/brave/init.lua
@@ -17,9 +17,11 @@ brave.on('compile', function (text)
log.debug(err)
return
end
+ local lines = parser:lines(text, 'utf8')
return {
- root = state.root,
- errs = state.errs,
+ root = state.root,
+ errs = state.errs,
+ lines = lines,
}
end)