David James wrote:
>On 8/16/05, Branko Čibej <brane@xbc.nu> wrote:
>
>
>>Well, if we have
>>
>> gen_base --> gen_swig
>>
>>and some ifs in gen_swig, then fine. But
>>
>> gen_base --> gen_make --> gen_swig
>>
>>looks like a lie to me.
>>
>>
>gen_base is an abstract base class, so gen_swig needs to define
>"_extension_map" in order for it to be instantiated with gen_base as a
>parent. Right now, we can fulfill this requirement by inheriting from
>"gen_make", which defines "_extension_map". This is a temporary
>workaround until we refactor the generator classes.
>
>
Is that the only reason? Look at gen_win.py:GeneratorBase -- just copy
that to gen_swig.py, possibly changing the extensions to empty strings
to avoid confusion, and you're done.
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 17 21:30:25 2005