[DGD] Question about overriding AUTO objects

Noah Gibbs noah_gibbs at yahoo.com
Mon Sep 6 18:10:44 CEST 2004


--- Colin Ross <c.ross at cantab.net> wrote:
> [snip]
> 
> As I understand at, in order to inherit something, that
> something needs
> to exist (i.e. be compiled).

  Absolutely.  And if it doesn't already exist, it will wind up being
compiled.  I'm not curious why COMMON_AUTO gets compiled -- that's
obvious.  I'm curious why SCRIPT_AUTO, a different beast entirely, is
getting compiled.

> So, if your SoulD inherits COMMON_AUTO,
> and COMMON_AUTO does not currently exist, COMMON_AUTO will
> then be
> compiled.  When it comes to the path_special() as part of this
> compilation,
> it finds that it should also inherit COMMON_AUTO according to the
> structure
> of your tests - and hence the evil cycle begins.

  Actually, COMMON_AUTO should specifically be excluded by the test
right after the sscanf()...  I exclude it by name immediately, because
otherwise I'd have exactly the problem you're referring to.


=====



		
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush
_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list