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 '*' '/' '%'
|
%left '*' '/' '%'
|
||||||
%left OP_POW
|
%left OP_POW
|
||||||
%left OP_CAST
|
%precedence OP_CAST
|
||||||
%right UNARY_OPS
|
%precedence UNARY_OPS
|
||||||
|
|
||||||
%define parse.error verbose
|
%define parse.error verbose
|
||||||
%define parse.lac full
|
%define parse.lac full
|
||||||
|
|
||||||
%nonassoc FAKE_THEN
|
%precedence FAKE_THEN
|
||||||
%nonassoc TOK_ELSE
|
%precedence TOK_ELSE
|
||||||
|
|
||||||
%debug
|
%debug
|
||||||
%locations
|
%locations
|
||||||
|
|
Loading…
Reference in New Issue