aboutsummaryrefslogtreecommitdiff
path: root/src/analyze.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-04-25 08:35:28 -0400
committerGitHub <noreply@github.com>2019-04-25 08:35:28 -0400
commit92d9cef07116da8639ac33b7fd83ba1b35f0750c (patch)
treeb76b7924fb16a2313721b7a294b04f75db621bcb /src/analyze.cpp
parent56e07622c692f70eb10836b86c5fda02c53e2394 (diff)
parent17ffe166c286de5ff0ef4d67f60267abba5f6e12 (diff)
downloadzig-92d9cef07116da8639ac33b7fd83ba1b35f0750c.tar.gz
zig-92d9cef07116da8639ac33b7fd83ba1b35f0750c.zip
Merge pull request #2332 from ziglang/translate-c-userland
beginnings of implementing translate-c in userland
Diffstat (limited to 'src/analyze.cpp')
-rw-r--r--src/analyze.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyze.cpp b/src/analyze.cpp
index 64cf8f2321..158a4bc94f 100644
--- a/src/analyze.cpp
+++ b/src/analyze.cpp
@@ -3725,7 +3725,7 @@ static void analyze_fn_body(CodeGen *g, ZigFn *fn_table_entry) {
}
if (g->verbose_ir) {
fprintf(stderr, "\n");
- ast_render(g, stderr, fn_table_entry->body_node, 4);
+ ast_render(stderr, fn_table_entry->body_node, 4);
fprintf(stderr, "\n{ // (IR)\n");
ir_print(g, stderr, &fn_table_entry->ir_executable, 4);
fprintf(stderr, "}\n");