Fix the handling of @system defs.

When treating a def as external, actually say it is external.
This commit is contained in:
Bill Currie 2011-03-07 20:53:27 +09:00
parent 8dbf8a97ea
commit 505bde308e

View file

@ -302,6 +302,7 @@ process_def (defref_t *ref, qfo_mspace_t *space, int field)
/// System defs may be redefined only once.
REF (r)->flags &= ~QFOD_SYSTEM;
// treat the new def as external
def->flags |= QFOD_EXTERNAL;
resolve_external_def (ref, r);
//FIXME copy stuff from new def to existing def???
} else {