Kenneth Graves <[EMAIL PROTECTED]> wrote:
> (I'd like to have
> $P0 = new $S0
> do what I want. Failing that, I'd at least like the find_type workaround.)
That should be done here:
| target '=' NEW classname COMMA var { $$ = iNEW(interp, ...
| target '=' NEW classname { $$ = iNEW(interp, ...
s/classname/var/ and then in iNEW do the right thing according to the
SymReg $4. Or better duplicate these lines with a "var" as classname...
> + | NEW { /*expect_pasm = 1;*/ }
I'd rather not mess around with PASM mode.
Patch welcome (if that's not possbile, I'll have a look at it)
Thanks,
leo