guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Block comment syntax


From: Ludovic Courtès
Subject: Re: Block comment syntax
Date: Tue, 12 Aug 2014 22:24:08 +0200
User-agent: Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.3 (gnu/linux)

David Michael <address@hidden> skribis:

> The block comment documentation[1] claims that the closing "!#" must
> appear on its own line, but this doesn't actually seem to be the
> case[2].  For example, the line "(display #! comment !# 1)"
> successfully outputs "1".

Yes, reader.test even has this:

--8<---------------cut here---------------start------------->8---
  (pass-if "block comment"
    (equal? '(+ 1 2 3)
            (read-string "(+ 1 #! this is a\ncomment !# 2 3)")))
--8<---------------cut here---------------end--------------->8---

> Can anyone clarify whether the documentation needs to be updated, or
> if the currently acceptable syntax is unintentional and should be
> avoided?

It’s the documentation that needs to be updated.
Done in commit 1e9249e.

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]