diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-09-01 03:16:35 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-09-01 03:16:35 -0400 |
| commit | ee9d1d0414ac6cc877e86055dcb08543db9b57ad (patch) | |
| tree | ce3b8d86127d634179ea4c78fa9a19fdc730ad6e /src/analyze.cpp | |
| parent | 848504117f17a5fa8ead8c168e0e430e22be6e43 (diff) | |
| download | zig-ee9d1d0414ac6cc877e86055dcb08543db9b57ad.tar.gz zig-ee9d1d0414ac6cc877e86055dcb08543db9b57ad.zip | |
c-to-zig: return statement
Diffstat (limited to 'src/analyze.cpp')
| -rw-r--r-- | src/analyze.cpp | 3 |
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); |
