[Top][All Lists]

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

patch: (read "\x1b") => #\esc

From: Paul Jarc
Subject: patch: (read "\x1b") => #\esc
Date: Mon, 10 Nov 2003 17:41:59 -0500
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

This patch fixes a failure to detect EOF, and also provides "\xNN" in
strings, where NN are exactly two hexadecimal digits.  This way, your
source code can be safe to print to a tty even if the strings it
defines would not be.  If this is acceptable, I'd also like to change
print.c to use this when (write)ing strings containing control

        * read.c (scm_lreadr): detect EOF after backslash, and
        interpret \xNN hexadecimal sequences.


Attachment: read-string-hex.patch
Description: Text Data

reply via email to

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