From 50df5000c2c51673f9aa35f07a5c1bf183ce9356 Mon Sep 17 00:00:00 2001 From: LouisJackman <11330428+LouisJackman@users.noreply.github.com> Date: Thu, 21 May 2020 18:47:47 +0100 Subject: [PATCH] Update older run-context code --- src/boot/boot.janet | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/boot/boot.janet b/src/boot/boot.janet index 02e91b21..5c0fe37d 100644 --- a/src/boot/boot.janet +++ b/src/boot/boot.janet @@ -1978,7 +1978,7 @@ (var going true) # The parser object - (var p (parser/new)) + (def p (parser/new)) # Evaluate 1 source form in a protected manner (defn eval1 [source] @@ -2020,7 +2020,7 @@ (if (= (chunks buf p) :cancel) (do - # Nil chunks represents a cancelled form in the REPL, so reset. + # A :cancel chunk represents a cancelled form in the REPL, so reset. (parser/flush p) (buffer/clear buf)) (do