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
b9284371
Commit
b9284371
authored
Feb 25, 2003
by
Kim F. Storm
Browse files
(read1): Accept `single space' syntax like (? x).
parent
1ebb05c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
src/lread.c
src/lread.c
+7
-0
No files found.
src/lread.c
View file @
b9284371
...
...
@@ -2258,6 +2258,13 @@ read1 (readcharfun, pch, first_in_list)
if
(
c
<
0
)
end_of_file_error
();
/* Accept `single space' syntax like (list ? x) where the
whitespace character is SPC or TAB.
Other literal whitespace like NL, CR, and FF are not accepted,
as there are well-established escape sequences for these. */
if
(
c
==
' '
||
c
==
'\t'
)
return
make_number
(
c
);
if
(
c
==
'\\'
)
c
=
read_escape
(
readcharfun
,
0
,
&
discard
);
else
if
(
BASE_LEADING_CODE_P
(
c
))
...
...
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