bug-guile
[Top][All Lists]
Advanced

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

another symbol-printing fix


From: Paul Jarc
Subject: another symbol-printing fix
Date: Mon, 01 Dec 2003 19:45:40 -0500
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Squashing more bugs for weird symbol names.

        * print.c (scm_print_symbol_name): Handle #{`foo}#, #{,foo}#,
        and #{.}# specially.

This is still not complete, though.  There are still problem cases
like #{0.0}#, #{-i}#, etc.  Rather than trying to duplicate all the
number-detection logic from scm_lreadr, maybe it would be best to
handle just the few non-numeric special cases, and then try
scm_i_mem2number(); if that returns non-#f, treat the symbol name as
weird.  I'll work on a patch.


paul

Attachment: print-symbol-special.patch
Description: Text Data


reply via email to

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