mirror of https://github.com/YosysHQ/yosys.git
Bugfix in liberty parser (as suggested by aiju in #569)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
57fc8dd582
commit
0ff0ce4973
|
@ -148,7 +148,7 @@ static bool parse_func_reduce(RTLIL::Module *module, std::vector<token_t> &stack
|
|||
}
|
||||
|
||||
if (0 <= top && stack[top].type == 2) {
|
||||
if (next_token.type == '*' || next_token.type == '&' || next_token.type == 0 || next_token.type == '(')
|
||||
if (next_token.type == '*' || next_token.type == '&' || next_token.type == 0 || next_token.type == '(' || next_token.type == '!')
|
||||
return false;
|
||||
stack[top].type = 3;
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue