Re: help please?
"Mark Hahn" <[email protected]> Sat, 1 May 2004 15:22:34 -0700
| Newsgroups | gmane.comp.lang.prothon.devel |
|---|---|
| Message-ID | <[email protected]> |
Kenny MacDermid wrote:
> I really have no idea right at the moment. Bison is suppose to
> choose to shift the '(' instead of reduce in the event of a
> conflict, but doesn't seem to be doing that. Also looking at
> the state machine you can see it reduce, and completely ignore
> the '(':
>
> -----
> state 296
>
> 172 obj: obj '$' LABEL . '(' function_params ')'
> 173 | obj '$' LABEL . ['(', <others removed>]
>
> $default reduce using rule 173 (obj)
That's a shock. I was expecting you to say "you moron, you have to blah
blah blah". I didn't expect you to actually have to do any work.
> The only other thing I can think of is that the conflicts are
> throwing it for a loop. Obj has a lot of repeated matches like:
>
> obj -> target_param -> attr_ref -> obj '.' LABEL
> obj -> obj '.' LABEL
Then let's clean things up before we worry about adding the obj$label
syntax. I wonder if there is some way to leverage you so that I can learn
from you and do the grunt work. I guess in any case you'll need to get a
build of Prothon going. [email protected] is our unix expert. Feel free to
get help from him.