shithub: mc

Download patch

ref: 2c078158d4d8207ac978f4f86e8f3e18e47793eb
parent: d23b4a240fb0b8ad401081e29230737502d13ad4
author: Ori Bernstein <ori@eigenstate.org>
date: Thu Sep 24 19:58:59 EDT 2015

Make global imports actually global.

--- a/parse/use.c
+++ b/parse/use.c
@@ -867,6 +867,7 @@
             case 'D':
                 dcl = rdsym(f, NULL);
                 dcl->decl.vis = vis;
+                dcl->decl.isglobl = 1;
                 putdcl(s, dcl);
                 break;
             case 'S':