Re: When %dprec and %merge aren't enough...

2008-11-17 Thread Marcel Laverdet
So I ended up solving this by basically copy and pasting my expression grammar sans the expressions that begin with t_LCURLY. Then an expression_statement must be an expression_no_statement t_SEMICOLON, where expression_no_statement is the copy and pasted grammar. ES-262 recommends a simi

Re: When %dprec and %merge aren't enough...

2008-11-17 Thread Hans Aberg
On 17 Nov 2008, at 20:48, Marcel Laverdet wrote: So I ended up solving this by basically copy and pasting my expression grammar sans the expressions that begin with t_LCURLY. Then an expression_statement must be an expression_no_statement t_SEMICOLON, where expression_no_statement is the co