mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-05 08:50:49 -08:00
Implicitely declared constants as globals
This commit is contained in:
parent
fbd2806c52
commit
cf49eca290
2 changed files with 6 additions and 0 deletions
|
|
@ -112,6 +112,10 @@ ECL 0.9i
|
|||
- SLOT-{VALUE,BOUNDP,MAKUNBOUND}-USING-CLASS now are also specialized for
|
||||
standard-effective-slot-definition (Thanks to D. Corkill)
|
||||
|
||||
- Constants are now implicitely declared global in the file in which they are
|
||||
defined, so that the compiler no longer issues warnings when they are
|
||||
referenced.
|
||||
|
||||
* Documentation:
|
||||
|
||||
- The HTML manuals now use CSS for a more appealing look.
|
||||
|
|
|
|||
|
|
@ -101,6 +101,8 @@ as a VARIABLE doc and can be retrieved by (documentation 'NAME 'variable)."
|
|||
`(PROGN (SYS:*MAKE-CONSTANT ',var ,form)
|
||||
,@(si::expand-set-documentation var 'variable doc-string)
|
||||
#+PDE (SYS:RECORD-SOURCE-PATHNAME ',var 'defconstant)
|
||||
(eval-when (:compile-toplevel)
|
||||
(si::register-global ',var))
|
||||
',var))
|
||||
|
||||
;;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue