Enable character hex escapes by default

R6RS character hex escapes do not conflict with legacy Guile octal
character escapes, so they can be enabled by default.

* libguile/read.c (scm_read_character): modified
* test-suite/tests/reader.test: modify character escape tests
* doc/ref/api-data.texi: modified
* doc/ref/api-options.texi: modified
This commit is contained in:
Michael Gran 2010-07-17 04:16:57 -07:00
commit 0f3a70cfa8
4 changed files with 15 additions and 31 deletions

View file

@ -509,7 +509,7 @@ keywords #f Style of keyword recognition: #f, 'prefix or 'postfix
case-insensitive no Convert symbols to lower case.
positions yes Record positions of source code expressions.
copy no Copy source code expressions.
r6rs-hex-escapes no Use R6RS-style string and character hex escapes
r6rs-hex-escapes no Use R6RS-style string hex escapes
@end smalllisp
Notice that while Standard Scheme is case insensitive, to ease
@ -523,7 +523,7 @@ To make Guile case insensitive, you can type
@end lisp
For more information on the effect of the @code{r6rs-hex-escapes} option, see
(@pxref{Characters}) and (@pxref{String Syntax}).
(@pxref{String Syntax}).
@node Printing options
@subsubsection Printing options