summaryrefslogtreecommitdiff
path: root/muse
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2019-04-12 22:48:43 -0700
committerOri Bernstein <ori@eigenstate.org>2019-04-12 22:48:43 -0700
commit537313ee9a2179cc6e869c6e8c70da4af1f07f28 (patch)
tree6cc091ad8c73b5e71755c6f4977de8d0e1d98fd1 /muse
parent6940a02fd47d73ba5dd0ad3a82b1945b639a23dc (diff)
downloadmc-537313ee9a2179cc6e869c6e8c70da4af1f07f28.tar.gz
Rename traits correctly.
Diffstat (limited to 'muse')
-rw-r--r--muse/muse.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/muse/muse.c b/muse/muse.c
index 6ed5450..a1dcacb 100644
--- a/muse/muse.c
+++ b/muse/muse.c
@@ -100,11 +100,8 @@ main(int argc, char **argv)
}
/* read and parse the file */
- file.ns = mkht(strhash, streq);
- file.globls = mkstab(0);
- lappend(&file.files, &file.nfiles, "internal");
+ initfile(&file, outfile);
updatens(file.globls, pkgname);
- tyinit(file.globls);
for (i = 0; i < ctx.nargs; i++)
mergeuse(ctx.args[i]);
loaduses();