projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb41644
)
No increment line_count for binary ANDs
author
Eddie Hung
<eddieh@ece.ubc.ca>
Mon, 11 Feb 2019 21:24:21 +0000
(13:24 -0800)
committer
Eddie Hung
<eddieh@ece.ubc.ca>
Mon, 11 Feb 2019 21:24:21 +0000
(13:24 -0800)
frontends/aiger/aigerparse.cc
patch
|
blob
|
history
diff --git
a/frontends/aiger/aigerparse.cc
b/frontends/aiger/aigerparse.cc
index ed91b69903f261451a6d1b8424d973f22fa82a30..096e269b26e6b7fde79120b436e7672965474fac 100644
(file)
--- a/
frontends/aiger/aigerparse.cc
+++ b/
frontends/aiger/aigerparse.cc
@@
-227,7
+227,7
@@
void AigerReader::parse_aiger_ascii()
std::getline(f, line); // Ignore up to start of next line
// Parse AND
- for (unsigned i = 0; i < A; ++i
, ++line_count
) {
+ for (unsigned i = 0; i < A; ++i) {
if (!(f >> l1 >> l2 >> l3))
log_error("Line %u cannot be interpreted as an AND!\n", line_count);