fennelrepl runs with --correlate
this is so that error message line numbers match up
This commit is contained in:
parent
7fc5d2934d
commit
eaa45906ff
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ in writeScriptBin "fennelrepl" ''
|
||||||
end
|
end
|
||||||
if #arg > 0 then
|
if #arg > 0 then
|
||||||
script = table.remove(arg, 1)
|
script = table.remove(arg, 1)
|
||||||
fennel.dofile(script, {}, arg)
|
fennel.dofile(script, {correlate = true}, arg)
|
||||||
else
|
else
|
||||||
fennel.repl()
|
fennel.repl()
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue