Re: IMCC parsing weirdness

2003-09-29 Thread Leopold Toetsch
Steve Fink <[EMAIL PROTECTED]> wrote: > Oh well. I'm committing a fix for the bug, as well as resolving all > shift/reduce conflicts via precedence. Thanks for the fix. Funnily I encountered that same bug yesterday night too, when trying to comment an argv param ... > I didn't bother allowing li

Re: IMCC parsing weirdness

2003-09-28 Thread Steve Fink
On Sep-28, Steve Fink wrote: > > I've attached a diff to languages/imcc/t/syn/pcc.t, but I'm not sure > if that's the right place for the test. Oops. Except CVS is being very flaky right now, so the patch hadn't been written to the file before I sent it. Oh well. I'm committing a fix for the bug

IMCC parsing weirdness

2003-09-28 Thread Steve Fink
I am getting strange behavior from IMCC if the first line after .pcc_sub is a comment. It seems to misinterpret things and ends up emitting a restore_p op that triggers a "No entries on UserStack!" exception. I've attached a diff to languages/imcc/t/syn/pcc.t, but I'm not sure if that's the right