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:
commit
b2d6a55335
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user