diff options
author | Andy Wingo <wingo@pobox.com> | 2010-10-01 10:20:54 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2010-10-01 10:20:54 +0200 |
commit | 24259edb8b1d70dfa968d9182e835013ec1cdb9f (patch) | |
tree | 0535656609c447eeb759f2e19d604717c950c128 /libguile/read.c | |
parent | edca9d6ef4024ba85701d55e461c16da0a0c5a76 (diff) | |
download | guile-24259edb8b1d70dfa968d9182e835013ec1cdb9f.tar.gz |
remove elisp-strings and elisp-vectors read options
* libguile/private-options.h (SCM_ELISP_VECTORS_P, SCM_ESCAPED_PARENS_P):
* libguile/read.c (scm_read_opts): Remove unused elisp-vectors option,
and the elisp-strings option (which allowed \( and \) escapes in
strings).
(scm_read_string): Remove the elisp-strings case.
* doc/ref/api-options.texi (Reader options): Update, and update wording
of the case-insensitive bit.
Diffstat (limited to 'libguile/read.c')
-rw-r--r-- | libguile/read.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libguile/read.c b/libguile/read.c index 49df1e379..118b9ccfa 100644 --- a/libguile/read.c +++ b/libguile/read.c @@ -71,10 +71,6 @@ scm_t_option scm_read_opts[] = { "Convert symbols to lower case."}, { SCM_OPTION_SCM, "keywords", (unsigned long) SCM_BOOL_F, "Style of keyword recognition: #f, 'prefix or 'postfix."}, - { SCM_OPTION_BOOLEAN, "elisp-vectors", 0, - "Support Elisp vector syntax, namely `[...]'."}, - { SCM_OPTION_BOOLEAN, "elisp-strings", 0, - "Support `\\(' and `\\)' in strings."}, { SCM_OPTION_BOOLEAN, "r6rs-hex-escapes", 0, "Use R6RS variable-length character and string hex escapes."}, { SCM_OPTION_BOOLEAN, "square-brackets", 1, @@ -515,11 +511,6 @@ scm_read_string (int chr, SCM port) case '"': case '\\': break; - case '(': - case ')': - if (SCM_ESCAPED_PARENS_P) - break; - goto bad_escaped; case '\n': continue; case '0': |