fennelrepl runs with --correlate

this is so that error message line numbers match up
This commit is contained in:
Daniel Barlow 2023-09-08 21:02:26 +01:00
parent 7fc5d2934d
commit eaa45906ff

View file

@ -35,7 +35,7 @@ in writeScriptBin "fennelrepl" ''
end
if #arg > 0 then
script = table.remove(arg, 1)
fennel.dofile(script, {}, arg)
fennel.dofile(script, {correlate = true}, arg)
else
fennel.repl()
end