In Scheme mode @|| will also throw an error instead of being read as a
comment. This is to avoid confusing situations like (define foo (list x '@|| y)) which quoted the `y' since @|| was read as a comment. svn: r15789 original commit: 1ea8c6651112f9c0bb8257bf9636b53b93c50cf9
This commit is contained in:
parent
c5bbbc0907
commit
4fc918a4d7
|
@ -636,6 +636,22 @@ bar}
|
|||
---
|
||||
\foo{\" -\error-> #rx":1:6: read: expected a closing '\"'$"
|
||||
---
|
||||
@|1 2|
|
||||
-@error->
|
||||
#rx"a @|...| form in Scheme mode must have exactly one escaped expression"
|
||||
---
|
||||
@||
|
||||
-@error->
|
||||
#rx"a @|...| form in Scheme mode must have exactly one escaped expression"
|
||||
---
|
||||
\|1 2|
|
||||
-\error->
|
||||
#rx"a \\\\|...| form in Scheme mode must have exactly one escaped expression"
|
||||
---
|
||||
\||
|
||||
-\error->
|
||||
#rx"a \\\\|...| form in Scheme mode must have exactly one escaped expression"
|
||||
---
|
||||
;; -------------------- inside-reader
|
||||
---
|
||||
foo bar baz -@i-> "foo bar baz"
|
||||
|
|
Loading…
Reference in New Issue
Block a user