diff options
Diffstat (limited to 'new-luxc/source/luxc/repl.lux')
-rw-r--r-- | new-luxc/source/luxc/repl.lux | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/new-luxc/source/luxc/repl.lux b/new-luxc/source/luxc/repl.lux index 9df2d181d..df046700c 100644 --- a/new-luxc/source/luxc/repl.lux +++ b/new-luxc/source/luxc/repl.lux @@ -108,7 +108,7 @@ compiler (initialize source-dirs target-dir console)] (loop [compiler compiler source fresh-source - multi-line? false] + multi-line? #0] (do @ [_ (if multi-line? (console.write " " console) @@ -126,11 +126,11 @@ (#e.Success [compiler' [source' exprT exprV]]) (do @ [_ (console.write (represent compiler' exprT exprV) console)] - (recur compiler' source' false)) + (recur compiler' source' #0)) (#e.Error error) (if (ex.match? syntax.end-of-file error) - (recur compiler source true) + (recur compiler source #1) (exec (log! (ex.construct repl-error error)) - (recur compiler fresh-source false)))))) + (recur compiler fresh-source #0)))))) ))) |