Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
38404229
Commit
38404229
authored
Sep 01, 2000
by
Gerd Moellmann
Browse files
(read1): Accept `?' as symbol constituent, for
compatiblity with XEmacs.
parent
05d07b49
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
src/ChangeLog
src/ChangeLog
+5
-0
src/lread.c
src/lread.c
+7
-6
No files found.
src/ChangeLog
View file @
38404229
2000-09-01 Gerd Moellmann <gerd@gnu.org>
* lread.c (read1): Accept `?' as symbol constituent, for
compatiblity with XEmacs.
2000-08-31 Stefan Monnier <monnier@cs.yale.edu>
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
...
...
src/lread.c
View file @
38404229
...
...
@@ -2197,25 +2197,26 @@ read1 (readcharfun, pch, first_in_list)
default_label:
if
(
c
<=
040
)
goto
retry
;
{
register
char
*
p
=
read_buffer
;
char
*
p
=
read_buffer
;
int
quoted
=
0
;
{
register
char
*
end
=
read_buffer
+
read_buffer_size
;
char
*
end
=
read_buffer
+
read_buffer_size
;
while
(
c
>
040
&&
!
(
c
==
'\"'
||
c
==
'\''
||
c
==
';'
||
c
==
'?'
&&
!
(
c
==
'\"'
||
c
==
'\''
||
c
==
';'
||
c
==
'('
||
c
==
')'
||
c
==
'['
||
c
==
']'
||
c
==
'#'
))
||
c
==
'['
||
c
==
']'
||
c
==
'#'
))
{
if
(
end
-
p
<
MAX_MULTIBYTE_LENGTH
)
{
register
char
*
new
=
(
char
*
)
xrealloc
(
read_buffer
,
read_buffer_size
*=
2
);
char
*
new
=
(
char
*
)
xrealloc
(
read_buffer
,
read_buffer_size
*=
2
);
p
+=
new
-
read_buffer
;
read_buffer
+=
new
-
read_buffer
;
end
=
read_buffer
+
read_buffer_size
;
}
if
(
c
==
'\\'
)
{
c
=
READCHAR
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment