Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carl Shapiro
cmucl
Commits
2fd33a55
Commit
2fd33a55
authored
18 years ago
by
rtoy
Browse files
Options
Downloads
Patches
Plain Diff
Fix symbol-macrolet + declare ignore bug found by Pascal Costanza,
cmucl-imp, 2006/05/20. See Trac ticket #4.
parent
4b5f9c3f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
compiler/ir1tran.lisp
+9
-2
9 additions, 2 deletions
compiler/ir1tran.lisp
with
9 additions
and
2 deletions
compiler/ir1tran.lisp
+
9
−
2
View file @
2fd33a55
...
...
@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ir1tran.lisp,v 1.17
2
200
5
/05/
06 16:42:38
rtoy
Exp
$"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/ir1tran.lisp,v 1.17
3
200
6
/05/
23 20:35:01
rtoy
Rel
$"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -1311,7 +1311,14 @@
(
compiler-note
"Ignoring free ignore declaration for ~S."
name
)
(
compiler-warning
"Ignore declaration for unknown variable ~S."
name
)))
((
and
(
consp
var
)
(
consp
(
cdr
var
))
(
eq
(
car
var
)
'macro
))
((
and
(
consp
var
)
(
eq
(
car
var
)
'macro
)
;; Var is '(macro foo). Why must foo be a cons? This
;; causes (symbol-macrolet ((a 42)) (declare (ignorable
;; a)) ...) to get a type error from a test below because
;; var is '(macro . 42) in this case.
#+
nil
(
consp
(
cdr
var
)))
;; Just ignore the ignore decl.
)
((
functional-p
var
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment