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

Added some stuff to %DEFSTRUCT to notice when a structure is being

incompatibly redefined, signalling a correctable error.  If proceeded,
we FMAKUNBOUND the old accessors.  Also, %DEFSTRUCT is now responsible
for updating the INCLUDED-BY slot for the DEFINED-STRUCTURE-INFO, since
the compiler's STRUCTURE-INFO may not be EQ.
I also moved %DEFSTRUCT to be beginning of the DEFMACRO expansion.  It 
was previously at the end, which caused %%COMPILER-DEFSTRUCT to
create FUNCTION KIND and WHERE-FROM entries for the slot accessors.  If
they are defined as functions in the global environment, then it just
lets the default expression for these info types realize that they
are functions.
With any luck, this won't cause any horrible bootstrapping problems.
parent 559d8364
No related branches found
No related tags found
Loading
Loading
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