On 30 May 2013, at 22:02, Adam Smalin <acidzombi...@gmail.com> wrote:

> Here is an example of my input
> 
> thing { $var.member }
> 
> The problem is I allow
> 
> thing { .member $var }
> 
> So what is happening is I'd LIKE to always use $var.member but it can
> reduce $var then .member which should not be allowed if $var is in front of
> it (or $foo or $anything).
> 
> I'm not exactly sure where to put the precedence rule or how to. 

You can't resolve reduce-reduce conflicts with token precedences: the grammar 
must be rewritten, or possibly use GLR.

Hans



_______________________________________________
help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to