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 257de836..cdb0a783 100644
--- a/src/decompiler.cc
+++ b/src/decompiler.cc
@@ -826,9 +826,9 @@ struct Decompiler {
}
}
if (is_import) {
- s += ";";
+ s += cat("; // func", std::to_string(func_index));
} else {
- s += " {\n";
+ s += cat(" { // func", std::to_string(func_index), "\n");
auto val = DecompileExpr(ast.exp_stack[0], nullptr);
IndentValue(val, indent_amount, {});
for (auto& stat : val.v) {