aboutsummaryrefslogtreecommitdiff
path: root/src/interp/int-top.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/int-top.boot')
-rw-r--r--src/interp/int-top.boot8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interp/int-top.boot b/src/interp/int-top.boot
index 9e5b1063..17c08196 100644
--- a/src/interp/int-top.boot
+++ b/src/interp/int-top.boot
@@ -134,7 +134,7 @@ SpadInterpretStream(str, source, interactive?) ==
$promptMsg : local := 'S2CTP023
interactive? =>
- PRINC(MKPROMPT())
+ printPrompt()
intloopReadConsole('"", str)
[]
intloopInclude (source,0)
@@ -146,19 +146,19 @@ intloopReadConsole(b, n)==
a:= serverReadLine $InputStream
not STRINGP a => leaveScratchpad()
#a=0 =>
- PRINC(MKPROMPT())
+ printPrompt()
intloopReadConsole('"", n)
pfx := stripSpaces intloopPrefix?('")fi",a)
pfx and ((pfx = '")fi") or (pfx = '")fin")) => []
b = '"" and (d := intloopPrefix?('")", a)) =>
setCurrentLine d
c := ncloopCommand(d,n)
- PRINC(MKPROMPT())
+ printPrompt()
intloopReadConsole('"", c)
a:=CONCAT(b,a)
ncloopEscaped a => intloopReadConsole(SUBSEQ(a, 0, (LENGTH a) - 1),n)
c := intloopProcessString(a, n)
- PRINC(MKPROMPT())
+ printPrompt()
intloopReadConsole('"", c)
intloopPrefix?(prefix,whole) ==