Mercurial > projects > ldc
diff dmd2/import.h @ 1526:54b3c1394d62
Merged dmdfe 2.031.
author | Robert Clipsham <robert@octarineparrot.com> |
---|---|
date | Tue, 07 Jul 2009 02:26:11 +0100 |
parents | f04dde6e882c |
children |
line wrap: on
line diff
--- a/dmd2/import.h Mon Jul 06 23:57:27 2009 +0100 +++ b/dmd2/import.h Tue Jul 07 02:26:11 2009 +0100 @@ -34,7 +34,9 @@ Identifier *id; // module Identifier Identifier *aliasId; int isstatic; // !=0 if static import +#if IN_LLVM enum PROT protection; +#endif // Pairs of alias=name to bind into current namespace Array names; @@ -50,7 +52,9 @@ void addAlias(Identifier *name, Identifier *alias); const char *kind(); +#if IN_LLVM enum PROT prot(); +#endif Dsymbol *syntaxCopy(Dsymbol *s); // copy only syntax trees void load(Scope *sc); void semantic(Scope *sc);