comparison sema/ScopeBuilder.d @ 99:857f0d530789 new_gen

Imports and improved module statement Allow "module a.b.c" Supports most forms of D's import. import A, B; import A, B = C; import A, B : a = b, c;
author Anders Halager <halager@gmail.com>
date Tue, 06 May 2008 21:59:22 +0200
parents 48bb2287c035
children fea8d61a2451
comparison
equal deleted inserted replaced
98:7f9240d4ddc1 99:857f0d530789
72 table[0].types["ulong"] = DType.ULong; 72 table[0].types["ulong"] = DType.ULong;
73 } 73 }
74 74
75 override void visit(Module m) 75 override void visit(Module m)
76 { 76 {
77 current().inModule = m;
77 visitModule(m); 78 visitModule(m);
78 auto fr = new ForwardReference(); 79 auto fr = new ForwardReference();
79 fr.visit(m); 80 fr.visit(m);
80 } 81 }
81 82