mirror of
https://github.com/janet-lang/janet
synced 2025-11-08 11:33:02 +00:00
Get tests passing again by returning keyword rather than nil from chunks
This commit is contained in:
@@ -2017,7 +2017,8 @@
|
||||
(while going
|
||||
(if (env :exit) (break))
|
||||
(buffer/clear buf)
|
||||
(if (nil? (chunks buf p))
|
||||
(if (= (chunks buf p)
|
||||
:cancel)
|
||||
(do
|
||||
# Nil chunks represents a cancelled form in the REPL, so reset.
|
||||
(parser/flush p)
|
||||
|
||||
Reference in New Issue
Block a user