Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Slime
Commits
0c182587
Commit
0c182587
authored
9 years ago
by
Tomas Zellerin
Committed by
Luís Oliveira
9 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Use standard string reader in simple-read.
parent
c78d2408
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+1
-0
ChangeLog
swank/rpc.lisp
+1
-7
swank/rpc.lisp
with
2 additions
and
7 deletions
+2
-7
ChangeLog
+
1
-
0
View file @
0c182587
2016-03-09 Tomas Zellerin <tomas@zellerin.cz>
* swank/rpc.lisp (simple-read): We did not gain anything by custom string reader.
* swank/rpc.lisp (simple-read): Fix handling of symbols.
2016-03-04 Stas Boukarev <stassats@gmail.com>
...
...
This diff is collapsed.
Click to expand it.
swank/rpc.lisp
+
1
-
7
View file @
0c182587
...
...
@@ -75,12 +75,6 @@
"Read a form that conforms to the protocol, otherwise signal an error."
(
let
((
c
(
read-char
)))
(
case
c
(
#\"
(
with-output-to-string
(
*standard-output*
)
(
loop
for
c
=
(
read-char
)
do
(
case
c
(
#\"
(
return
))
(
#\\
(
write-char
(
read-char
)))
(
t
(
write-char
c
))))))
(
#\(
(
loop
collect
(
simple-read
)
while
(
ecase
(
read-char
)
(
#\)
nil
)
...
...
@@ -95,7 +89,7 @@
while
(
and
ch
(
digit-char-p
ch
))
collect
ch
finally
(
unread-char
ch
)))))
((
or
(
eql
c
#\:
)
(
alpha-char-p
c
))
((
or
(
member
c
'
(
#\:
#\"
)
)
(
alpha-char-p
c
))
(
unread-char
c
)
(
read-preserving-whitespace
))
(
t
(
error
"Invalid character ~:c"
c
)))))))
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help