LibertyParse ignore shift/reduce

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2021-10-09 08:18:27 -07:00
parent 46a835a581
commit adda260c8a
1 changed files with 4 additions and 2 deletions

View File

@ -41,8 +41,8 @@ int LibertyLex_lex();
sta::LibertyStmt *stmt; sta::LibertyStmt *stmt;
} }
%left '+' '|' %left '+' '-' '|'
%left '*' '&' %left '*' '/' '&'
%left '^' %left '^'
%left '!' %left '!'
@ -56,6 +56,8 @@ int LibertyLex_lex();
%type <line> line %type <line> line
%type <ch> expr_op volt_op %type <ch> expr_op volt_op
%expect 2
%start file %start file
%{ %{