1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-27 17:00:27 +00:00

Fix call to match in run-context

This commit is contained in:
Michael Camilleri 2021-02-28 14:23:17 +09:00
parent d3e52a2afb
commit 1fea5f8fe7
No known key found for this signature in database
GPG Key ID: 7EB218A48DF8B572

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.