projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57fc8dd
)
Bugfix in liberty parser (as suggested by aiju in #569)
author
Clifford Wolf
<clifford@clifford.at>
Fri, 15 Jun 2018 16:56:44 +0000
(18:56 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Fri, 15 Jun 2018 16:56:44 +0000
(18:56 +0200)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
frontends/liberty/liberty.cc
patch
|
blob
|
history
diff --git
a/frontends/liberty/liberty.cc
b/frontends/liberty/liberty.cc
index c9b6a54b2a9a81f28a964dca30fce7bef6791057..b9e53a4bedcf7b1303c5e6803cfcd1de8d142969 100644
(file)
--- a/
frontends/liberty/liberty.cc
+++ b/
frontends/liberty/liberty.cc
@@
-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;