mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-03-05 03:50:41 -08:00
DEFCONSTANT must also define the constant at compile time.
This commit is contained in:
parent
0bced09c13
commit
cd89447eec
2 changed files with 4 additions and 0 deletions
|
|
@ -38,6 +38,9 @@ ECL 9.6.3:
|
|||
- Compiler messages no show the offending form and file position. Before this
|
||||
information was not properly stored in the compiled code tree.
|
||||
|
||||
- DEFCONSTANT only had the expected compile-time side effects in the bytecodes
|
||||
compiler, not in the lisp->C translator.
|
||||
|
||||
* Visible changes:
|
||||
|
||||
- The toplevel only traps SERIOUS-CONDITIONS.
|
||||
|
|
|
|||
|
|
@ -119,6 +119,7 @@ VARIABLE doc and can be retrieved by (DOCUMENTATION 'SYMBOL 'VARIABLE)."
|
|||
,(ext:register-with-pde whole)
|
||||
,(unless *bytecodes-compiler*
|
||||
`(eval-when (:compile-toplevel)
|
||||
(sys:*make-constant ',var ,form)
|
||||
(si::register-global ',var)))
|
||||
',var))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue