mirror of https://github.com/YosysHQ/yosys.git
Use %precedence in verilog_parser.y
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
This commit is contained in:
parent
24540291c7
commit
7a79843cc3
|
@ -299,14 +299,14 @@ static void rewriteAsMemoryNode(AstNode *node, AstNode *rangeNode)
|
|||
%left '+' '-'
|
||||
%left '*' '/' '%'
|
||||
%left OP_POW
|
||||
%left OP_CAST
|
||||
%right UNARY_OPS
|
||||
%precedence OP_CAST
|
||||
%precedence UNARY_OPS
|
||||
|
||||
%define parse.error verbose
|
||||
%define parse.lac full
|
||||
|
||||
%nonassoc FAKE_THEN
|
||||
%nonassoc TOK_ELSE
|
||||
%precedence FAKE_THEN
|
||||
%precedence TOK_ELSE
|
||||
|
||||
%debug
|
||||
%locations
|
||||
|
|
Loading…
Reference in New Issue