Hi
Here is the grammar rules:
ProcessExpression : EventExpression "->" ProcessExpression
| ProcessName ;
Please can you tell me how can I tell to bison that the first rule has the highest precedence than the second one?
I have tried:
%nonassoc PROC
%right "->"
ProcessExpression : EventExpression "->" ProcessExpression
| ProcessName % prec PROC;
But without any result. Thank you.