mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-06 17:30:41 -08:00
(DECLARE (OPTIMIZE DEBUG)) is ignored, but no warning is issued.
This commit is contained in:
parent
d8460be1cf
commit
2c35fb9a2c
1 changed files with 2 additions and 0 deletions
|
|
@ -216,6 +216,7 @@
|
|||
(not (<= 0 (second x) 3)))
|
||||
(warn "The OPTIMIZE proclamation ~s is illegal." x)
|
||||
(case (car x)
|
||||
(DEBUG)
|
||||
(SAFETY (setq *compiler-check-args* (>= (second x) 1))
|
||||
(setq *safe-compile* (>= (second x) 2))
|
||||
(setq *compiler-push-events* (>= (second x) 3)))
|
||||
|
|
@ -401,6 +402,7 @@
|
|||
(not (<= 0 (second x) 3)))
|
||||
(warn "The OPTIMIZE proclamation ~s is illegal." x)
|
||||
(case (car x)
|
||||
(DEBUG)
|
||||
(SAFETY
|
||||
(let ((level (second x)))
|
||||
(declare (fixnum level))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue