I completely forgot, I had an idea of how I might be able to rewrite it (using the * and + precedence examples I seen long ago). I'll get on that. FYI I am using GLR
On Thu, May 30, 2013 at 5:51 PM, Hans Aberg <haber...@telia.com> wrote: > 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