summaryrefslogtreecommitdiff
path: root/src/decompiler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/decompiler.cc')
-rw-r--r--src/decompiler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decompiler.cc b/src/decompiler.cc
index 93e0043e..2de695c2 100644
--- a/src/decompiler.cc
+++ b/src/decompiler.cc
@@ -661,7 +661,7 @@ struct Decompiler {
std::string InitExp(const ExprList &el) {
assert(!el.empty());
AST ast(mc, nullptr);
- ast.Construct(el, 1, false);
+ ast.Construct(el, 1, 0, false);
auto val = DecompileExpr(ast.exp_stack[0], nullptr);
assert(ast.exp_stack.size() == 1 && val.v.size() == 1);
return std::move(val.v[0]);
@@ -764,7 +764,7 @@ struct Decompiler {
AST ast(mc, f);
cur_ast = *
if (!is_import) {
- ast.Construct(f->exprs, f->GetNumResults(), true);
+ ast.Construct(f->exprs, f->GetNumResults(), 0, true);
lst.Track(ast.exp_stack[0]);
lst.CheckLayouts();
}