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
ansi-test
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Karsten Poeck
ansi-test
Commits
3331fe90
Commit
3331fe90
authored
Oct 19, 2002
by
pfdietz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Got rid of potential problem with LIST being called with >= CALL-ARGUMENTS-LIMIT args.
parent
48f51b0f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
ansi-tests/ansi-aux.lsp
ansi-tests/ansi-aux.lsp
+9
-0
ansi-tests/multiple-value-setq.lsp
ansi-tests/multiple-value-setq.lsp
+3
-2
No files found.
ansi-tests/ansi-aux.lsp
View file @
3331fe90
...
...
@@ -235,6 +235,15 @@ the condition to go uncaught if it cannot be classified."
(rotatef (elt seq r) (elt seq (1- i))))))
seq)
(defun make-list-expr (args)
"Build an expression for computing (LIST . args), but that evades
CALL-ARGUMENTS-LIMIT."
(if (cddddr args)
(list 'list*
(first args) (second args) (third args) (fourth args)
(make-list-expr (cddddr args)))
(cons 'list args)))
(defparameter +standard-chars+
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789~!@#$%^&*()_+|\\=-`{}[]:\";'<>?,./
")
...
...
ansi-tests/multiple-value-setq.lsp
View file @
3331fe90
...
...
@@ -101,8 +101,9 @@
`(let ,vars
(and (eql (multiple-value-setq ,vars (values-list (quote ,result)))
,(car result))
(equal (list ,@vars) (quote ,result)))))
(equal ,(make-list-expr vars)
(quote ,result)))))
unless (eval form)
collect (list i form)))
nil)
|#
\ No newline at end of file
|#
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