REPL bug

Vibhu Mohindra <[email protected]> Thu, 9 Feb 2023 02:51:00 +0100
Newsgroups gmane.lisp.clisp.devel
Message-ID <GVXP195MB1832C5753FC5A2381D472183CAD99@GVXP195MB1832.EURP195.PROD.OUTLOOK.COM>
$ clisp -q -ansi -norc
[1]> ; a comment line makes repl ignore second expr on following line
nil (format t "~&never printed~%")
NIL
[2]>
(+ 2 2)
4
[3]>

$ clisp --version
GNU CLISP 2.49.93+ (2018-02-18) (built on x86-csail-01.debian.org 
[128.31.0.50])
Software: GNU C 10.3.0
gcc -g -O2 
-ffile-prefix-map=/build/clisp-E4DSi0/clisp-2.49.20210628.gitde01f0f=. 
-fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -no-integrated-cpp -W -Wswitch -Wcomment 
-Wpointer-arith -Wreturn-type -Wmissing-declarations -Wimplicit 
-Wno-sign-compare -Wno-format-nonliteral -Wno-shift-negative-value -O 
-fwrapv -fno-strict-aliasing -DNO_ASM -DENABLE_UNICODE -DDYNAMIC_FFI 
-DDYNAMIC_MODULES -Wl,-z,relro  libgnu.a  -lreadline -lncurses -ldl 
-lffcall  -lsigsegv -lunistring
SAFETY=0 HEAPCODES ONE_FREE_BIT_HEAPCODES WIDE_HARD SPVW_BLOCKS 
SPVW_MIXED TRIVIALMAP_MEMORY
libsigsegv 2.13
libreadline 8.1
libffcall 2.4
Features:
(READLINE REGEXP WILDCARD SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL
  COMMON-LISP LISP=CL INTERPRETER LOGICAL-PATHNAMES SOCKETS GENERIC-STREAMS
  SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER WORD-SIZE=64 PC386 UNIX)
C Modules: (clisp i18n syscalls regexp readline)
Installation directory: /usr/lib/clisp-2.49.93+/
User language: ENGLISH
Machine: X86_64 (X86_64) localhost.localdomain [127.0.1.1]


----
I had meant to look at the code to see if I could fix this, but half a 
year has passed and I realise I still haven't. So I suppose I should at 
least report it to this list.


Vibhu


_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel