summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-01-05 21:36:26 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2020-01-05 21:36:26 -0500
commitbc96b9a42e3ee59759e6d63cd5f1617bc6a20f1e (patch)
tree0bfa424e8675c937a53d280ea72e98139737335e /main.c
parent73a48f7ef497fb8ac69173949150082b70482dc0 (diff)
package names
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/main.c b/main.c
index bcdec84..e7b8567 100644
--- a/main.c
+++ b/main.c
@@ -124,9 +124,8 @@ int main(int argc, char **argv) {
#ifdef TOC_DEBUG
FILE *out_pkg = fopen("out.top", "wb");
- exptr_create(&exptr, out_pkg);
+ exptr_create(&exptr, out_pkg, contents);
exptr.export_locations = false;
- exptr_start(&exptr, contents);
#endif
if (!block_enter(NULL, f.stmts, SCOPE_CHECK_REDECL)) /* enter global scope */
return false;