summaryrefslogtreecommitdiff
path: root/6
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-11-05 21:27:14 -0800
committerOri Bernstein <ori@eigenstate.org>2017-11-05 21:27:14 -0800
commit4e018273cd06542a0605cebd840dbcb8b14ad906 (patch)
tree830242438ff43f1e5ae18841a5b99249c67b4452 /6
parent547d6b96e5536f97d161e0a6544344534af3bde2 (diff)
downloadmc-4e018273cd06542a0605cebd840dbcb8b14ad906.tar.gz
Accept the globalness of file.
Diffstat (limited to '6')
-rw-r--r--6/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/6/main.c b/6/main.c
index a254d45..2f54284 100644
--- a/6/main.c
+++ b/6/main.c
@@ -276,8 +276,8 @@ main(int argc, char **argv)
dump(file, stdout);
infer();
if (hasmain(file))
- geninit(file);
- tagexports(file, 0);
+ geninit();
+ tagexports(0);
/* after all type inference */
if (debugopt['t'])
dump(file, stdout);