Skip to content
Snippets Groups Projects
Commit 0de8000d authored by ram's avatar ram
Browse files

Fixed START-BLOCK, END-BLOCK and recognized declarations to be ignored in

%PROCLAIM (they only make it that far when called by the interpreter.  Changed
the unrecognized proclamation error to be a warning.
parent e7db64d3
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/proclaim.lisp,v 1.25 1992/03/09 14:56:16 ram Exp $")
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/compiler/proclaim.lisp,v 1.26 1992/09/15 16:10:16 ram Exp $")
;;;
;;; **********************************************************************
;;;
......@@ -380,10 +380,12 @@
(unless (symbolp decl)
(error "Declaration to be RECOGNIZED is not a symbol: ~S." decl))
(setf (info declaration recognized decl) t)))
((start-block end-block)) ; ignore.
(t
(if (member kind type-specifier-symbols)
(%proclaim `(type . ,form))
(error "Unrecognized proclamation: ~S." form)))))
(cond ((member kind type-specifier-symbols)
(%proclaim `(type . ,form)))
((not (info declaration recognized kind))
(warn "Unrecognized proclamation: ~S." form))))))
(undefined-value))
;;;
(setf (symbol-function 'proclaim) #'%proclaim)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment