LibertyParse ignore shift/reduce
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
46a835a581
commit
adda260c8a
|
|
@ -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
|
||||||
|
|
||||||
%{
|
%{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue