ref: e4a027e5963bfc5b383677519562d1d4c88bbb13
parent: f0fc82b53c2c824f27fde0789904adb58c45b087
author: Ori Bernstein <[email protected]>
date: Wed Jul 25 17:08:49 EDT 2012
Make sure i is initialized
--- a/util/muse.c
+++ b/util/muse.c
@@ -38,10 +38,10 @@
FILE *f;
globls = file->file.globls;
- loaduse(f, globls);
f = fopen(path, "r");
- dumpstab(globls, stdout);
+ loaduse(f, globls);
fclose(f);
+ dumpstab(globls, stdout);
}
static void genuse(char *path)
@@ -107,7 +107,7 @@
}
if (merge) {
- file = mkfile(argv[i]);
+ file = mkfile("internal");
file->file.exports = mkstab();
file->file.globls = mkstab();
updatens(file->file.exports, outfile);