1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-21 10:47:40 +00:00

Merge pull request #646 from pyrmont/bugfix.run-context-match

Fix call to match in run-context
This commit is contained in:
Calvin Rose
2021-02-28 10:48:43 -06:00
committed by GitHub

View File

@@ -2171,7 +2171,7 @@
(while parser-not-done (while parser-not-done
(if (env :exit) (break)) (if (env :exit) (break))
(buffer/clear buf) (buffer/clear buf)
(match (= (chunks buf p)) (match (chunks buf p)
:cancel :cancel
(do (do
# A :cancel chunk represents a cancelled form in the REPL, so reset. # A :cancel chunk represents a cancelled form in the REPL, so reset.