Remove DEF!MACRO, move SB!XC:DEF{TYPE,CONSTANT} earlier.
DEF!MACRO was too confusing and you don't need it. Instead:
* To have a macro usable in code that's compiling for the host,
and also in the cross-compiler, just use DEFMACRO, and put it
early enough so that it's seen by both passes prior to any use.
* For a macro that's not needed to expand host code, but is needed
in make-host-2 "too late" to define properly (which could be
considered poor style in itself), use SB!XC:DEFMACRO
BINDING* and NAMED-DS-BIND, appear in the expansion of
SB!XC:DEFMACRO itself, so they merit some extra assistance.
18 files changed: