projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55924de
)
fix dumpAst() compilation warning
author
Zachary Snow
<zach@zachjs.com>
Tue, 18 Jan 2022 07:17:08 +0000
(
00:17
-0700)
committer
Zachary Snow
<zach@zachjs.com>
Tue, 18 Jan 2022 07:17:08 +0000
(
00:17
-0700)
frontends/ast/ast.cc
patch
|
blob
|
history
diff --git
a/frontends/ast/ast.cc
b/frontends/ast/ast.cc
index 7be8ab5655d4443c4845f43a569d6b143df2fe0c..6097f02f5ea8f7b0b45e93be31634748f3165669 100644
(file)
--- a/
frontends/ast/ast.cc
+++ b/
frontends/ast/ast.cc
@@
-344,7
+344,7
@@
void AstNode::dumpAst(FILE *f, std::string indent) const
}
if (!multirange_swapped.empty()) {
fprintf(f, " multirange_swapped=[");
- for (
auto
v : multirange_swapped)
+ for (
bool
v : multirange_swapped)
fprintf(f, " %d", v);
fprintf(f, " ]");
}