[Ecls-list] Bug in Pretty printer

Philipp Marek philipp at marek.priv.at
Fri Aug 5 15:23:14 UTC 2011


Hello,

I can reproduce a bug in the pretty printer.

    $ ecl -norc -shell t.lisp

prints for me (ECL from git, debian, amd64).

    (LET ((#:TARGET-STRING1137 "aa"))
      (VOOOOOOOOOOOOOOOOOOOOOO
       #:G0)))(DECLARE (IGNORE #:G0)))(DECLARE (IGNORE #:G0)))))

ie. the last line is badly indented and has the wrong characters.

Shortening the "vooo" line, so that the line with "#:g0" goes into the same line, makes
the bug disappear; so it seems to be something in the vicinity of (maybe-output),
(really-start-logical-block) or something like that.


Happy weekend!


Phil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.lisp
Type: application/octet-stream
Size: 208 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20110805/f82c6e5f/attachment.obj>


More information about the ecl-devel mailing list