1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-16 13:44:48 +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
commit b2d6a55335
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.