sslade
10/25/2015 8:15:00 PM
I am running SBCL 1.2.8-1.el7,
The file test.lisp contains the following:
(in-package common-lisp-user)
(defvar x)
;; comment
(setf x 10)
(format t "~%This is a test. X = ~D~%" x)
When I try to load it, load ignores everything after the comment.
* (load "test.lisp")
; loading #P"/home/classes/cs458/lisp/test.lisp"
; #<PACKAGE "COMMON-LISP-USER">
; X
T
If I remove the comment, no problem:
* (load "test.lisp")
; loading #P"/home/classes/cs458/lisp/test.lisp"
; #<PACKAGE "COMMON-LISP-USER">
; X
; 10
This is a test. X = 10
; NIL
T
Please advise.
--Stephen