aboutsummaryrefslogtreecommitdiff
path: root/src/analyze.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-09-01 03:16:35 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-09-01 03:16:35 -0400
commitee9d1d0414ac6cc877e86055dcb08543db9b57ad (patch)
treece3b8d86127d634179ea4c78fa9a19fdc730ad6e /src/analyze.cpp
parent848504117f17a5fa8ead8c168e0e430e22be6e43 (diff)
downloadzig-ee9d1d0414ac6cc877e86055dcb08543db9b57ad.tar.gz
zig-ee9d1d0414ac6cc877e86055dcb08543db9b57ad.zip
c-to-zig: return statement
Diffstat (limited to 'src/analyze.cpp')
-rw-r--r--src/analyze.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/analyze.cpp b/src/analyze.cpp
index 041d4eea70..b3e9601102 100644
--- a/src/analyze.cpp
+++ b/src/analyze.cpp
@@ -3163,8 +3163,7 @@ ImportTableEntry *add_source_file(CodeGen *g, PackageTableEntry *package, Buf *a
import_entry->line_offsets = tokenization.line_offsets;
import_entry->path = abs_full_path;
- import_entry->root = ast_parse(source_code, tokenization.tokens, import_entry, g->err_color,
- &g->next_node_index);
+ import_entry->root = ast_parse(source_code, tokenization.tokens, import_entry, g->err_color);
assert(import_entry->root);
if (g->verbose) {
ast_print(stderr, import_entry->root, 0);