Menu

#753 Multiline comments with |# inside a string

lisp error
open
nobody
5
2025-01-10
2025-01-10
Leo
No

When CLISP reads a file with a multi-line comment (with #| and |#) , it doesn't parse what's in the comment. This can be annoying if there is a string containing the combination "|#" as it will signal an error.
Example:

#|

(setq string "abc|#def")

|#

(print "hello")

It would be nice to be able to read the file without having to edit the line with the string

Discussion


Log in to post a comment.

MongoDB Logo MongoDB