[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with shift/reduce conflict
From: |
Henrik Sorensen |
Subject: |
Re: Help with shift/reduce conflict |
Date: |
Sun, 27 Mar 2005 23:18:31 +0200 |
User-agent: |
KMail/1.7.2 |
can you tell a bit more about what your grammar tries to achieve ?
from your very brief description, it sounds like you can do this:
1+3.YYID(7)
but what would this mean ?
Henrik
On Sunday 27 March 2005 21.37, Soumitra Kumar wrote:
> %token YYID
> %%
> expression : hier_id
>
> | method_call
>
> /* unary and secondary expression follows.
> */
> ;
> method_call : expression '.' YYID '(' expression ')'
> ;
> hier_id : YYID
>
> | hier_id '.' YYID
>
> ;
>
> How to resolve the shift/reduce conflict? Please help.
>
> -Soumitra.
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Small Business - Try our new resources site!
> http://smallbusiness.yahoo.com/resources/
>
>
> _______________________________________________
> address@hidden http://lists.gnu.org/mailman/listinfo/help-bison