aboutsummaryrefslogtreecommitdiff
path: root/src/interp/spad.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/spad.lisp')
-rw-r--r--src/interp/spad.lisp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interp/spad.lisp b/src/interp/spad.lisp
index d08d692b..2b883cae 100644
--- a/src/interp/spad.lisp
+++ b/src/interp/spad.lisp
@@ -158,9 +158,9 @@
(defun READLISP (UPPER_CASE_FG)
(let (v expr val )
(setq EXPR (READ-FROM-STRING
- (IF UPPER_CASE_FG (string-upcase (line-buffer CURRENT-LINE))
- (line-buffer CURRENT-LINE))
- t nil :start (Line-CURRENT-INDEX CURRENT-LINE)))
+ (IF UPPER_CASE_FG (string-upcase (line-buffer |$spadLine|))
+ (line-buffer |$spadLine|))
+ t nil :start (Line-CURRENT-INDEX |$spadLine|)))
(VMPRINT EXPR)
(setq VAL ((LAMBDA (|$InteractiveMode|) (EVAL EXPR)) NIL))
(FORMAT t "~&VALUE = ~S" VAL)