projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0.8.0.73:
[sbcl.git]
/
src
/
code
/
parse-body.lisp
diff --git
a/src/code/parse-body.lisp
b/src/code/parse-body.lisp
index
8a1ed02
..
f19db1c
100644
(file)
--- a/
src/code/parse-body.lisp
+++ b/
src/code/parse-body.lisp
@@
-50,7
+50,12
@@
t)))))
(declaration-p (x)
(if (consp x)
- (eq (car x) 'declare))))
+ (let ((name (car x)))
+ (if (eq name 'declaim)
+ (progn (style-warn
+ "DECLAIM is met where DECLARE is expected.")
+ nil)
+ (eq name 'declare))))))
(tagbody
:again
(if forms