summaryrefslogtreecommitdiff
path: root/6
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-06-17 23:05:06 -0700
committerOri Bernstein <ori@eigenstate.org>2016-06-17 23:05:06 -0700
commit1ed355447b8aa5aa8861651d5a657691fe939218 (patch)
tree12d099d11680c05e5c80b73d93b5f0999e52a7c4 /6
parent3d7695c257de8ea4d4c0b8999682de0b29ee3c20 (diff)
downloadmc-1ed355447b8aa5aa8861651d5a657691fe939218.tar.gz
Allow implementing traits from other namespaces.
Diffstat (limited to '6')
-rw-r--r--6/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/6/main.c b/6/main.c
index 3315b40..650812c 100644
--- a/6/main.c
+++ b/6/main.c
@@ -122,7 +122,7 @@ static int hasmain(Node *file)
{
Node *n, *name;
- name = mknsname(Zloc, "", "main");
+ name = mknsname(Zloc, NULL, "main");
n = getdcl(file->file.globls, name);
if (!n)
return 0;