diff dmd/import.h @ 626:e83ba4ae4878

Fix import visibility bugs 313 and 314.
author Christian Kamm <kamm incasoftware de>
date Wed, 01 Oct 2008 19:16:10 +0200
parents aaade6ded589
children def7a1d494fd
line wrap: on
line diff
--- a/dmd/import.h	Wed Oct 01 19:15:17 2008 +0200
+++ b/dmd/import.h	Wed Oct 01 19:16:10 2008 +0200
@@ -34,6 +34,7 @@
     Identifier *id;		// module Identifier
     Identifier *aliasId;
     int isstatic;		// !=0 if static import
+    enum PROT protection;
 
     // Pairs of alias=name to bind into current namespace
     Array names;
@@ -49,6 +50,7 @@
     void addAlias(Identifier *name, Identifier *alias);
 
     const char *kind();
+    enum PROT prot();
     Dsymbol *syntaxCopy(Dsymbol *s);	// copy only syntax trees
     void load(Scope *sc);
     void semantic(Scope *sc);