Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
François-René Rideau
fare-quasiquote
Commits
8618c249
Commit
8618c249
authored
Aug 11, 2014
by
Francois-Rene Rideau
Browse files
Add one test for error if comma in #.
parent
0054d583
Changes
1
Hide whitespace changes
Inline
Side-by-side
quasiquote-test.lisp
View file @
8618c249
...
...
@@ -238,6 +238,7 @@
(
loop
for
x
in
'
(
"(x)"
"`(,x)"
"``(,,x)"
"```(,,,x)"
)
do
(
is
(
equal
(
prq
x
)
x
)))
(
is
(
equal
(
prq
"`#.#(1 2 3)"
)
"`#(1 2 3)"
))
;; #. must reset the quasiquote level.
(
signals
error
(
rq
"`(foo bar #.(max 5 ,*print-base*))"
))
t
)
;;; Double-quasiquote test from the SBCL test suite backq.impure.lisp
...
...
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