Dan Sugalski <[EMAIL PROTECTED]> wrote:

> If it's clearer to read than pmc2c.pl, sure, go for it. That code's been
> stretched well beyond what it it it was originally intended to do and is
> getting kind of crufty.

Ok, checked in.

Almost all of the exceptions to code generation are handled in separate
(Pmc2c::)classes. It for sure needs some cleanup but should be much more
maintanable then the old one.

$ perl classes/pmc2c2.pl --vtable              # => vtable.dump
$ perl classes/pmc2c2.pl --dump classes/*.pmc  # => *.dump
$ perl classes/pmc2c2.pl --c classes/*.pmc     # => *.c *.h

Then the rules from classes/Makefile (*.o depend on generated *.h)
interfer, so disabling PMC2C in the classes/Makefile helps for testing.

>                               Dan

leo

Reply via email to