aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm2003-02-18 22:45:45 +0000
committerKim F. Storm2003-02-18 22:45:45 +0000
commit068f98821bc0b1db32d5b75b7abe9e4799b0ff57 (patch)
tree99f32b83b529e80c4f398404c9c019cf2aec06c2 /src
parentee5be7c3c93602b4c5d6b7181544141e9484c003 (diff)
downloademacs-068f98821bc0b1db32d5b75b7abe9e4799b0ff57.tar.gz
emacs-068f98821bc0b1db32d5b75b7abe9e4799b0ff57.zip
(read1): Allow "?" after a character constant.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/lread.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 5bef6ada00f..04fce4d9811 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -11,7 +11,8 @@
11 11
122003-02-18 Kim F. Storm <storm@cua.dk> 122003-02-18 Kim F. Storm <storm@cua.dk>
13 13
14 * lread.c (read1): Fix last change; "`" is not always special. 14 * lread.c (read1): Fix last change.
15 "`" is not always special. Allow "?" after a character constant.
15 16
162003-02-18 Andrew Choi <akochoi@shaw.ca> 172003-02-18 Andrew Choi <akochoi@shaw.ca>
17 18
diff --git a/src/lread.c b/src/lread.c
index f5d639e4494..d3f09847787 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -2278,7 +2278,7 @@ read1 (readcharfun, pch, first_in_list)
2278 else 2278 else
2279 { 2279 {
2280 ok = (next_char <= 040 2280 ok = (next_char <= 040
2281 || index ("\"';()[]#", next_char) 2281 || index ("\"';()[]#?", next_char)
2282 || (!first_in_list && next_char == '`') 2282 || (!first_in_list && next_char == '`')
2283 || (new_backquote_flag && next_char == ',')); 2283 || (new_backquote_flag && next_char == ','));
2284 } 2284 }