Mercurial > projects > ldc
diff dmd/enum.c @ 1630:44b145be2ef5
Merge dmd 1.056.
author | Robert Clipsham <robert@octarineparrot.com> |
---|---|
date | Sat, 06 Feb 2010 15:53:52 +0000 |
parents | 6c36e3f49b28 |
children |
line wrap: on
line diff
--- a/dmd/enum.c Wed Jan 06 19:53:35 2010 +0100 +++ b/dmd/enum.c Sat Feb 06 15:53:52 2010 +0000 @@ -1,5 +1,5 @@ -// Copyright (c) 1999-2009 by Digital Mars +// Copyright (c) 1999-2010 by Digital Mars // All Rights Reserved // written by Walter Bright // http://www.digitalmars.com @@ -14,6 +14,7 @@ #include "enum.h" #include "mtype.h" #include "scope.h" +#include "module.h" #include "declaration.h" /********************************* EnumDeclaration ****************************/ @@ -74,6 +75,8 @@ scope = NULL; } + unsigned dprogress_save = Module::dprogress; + if (sc->stc & STCdeprecated) isdeprecated = 1; @@ -97,6 +100,7 @@ } isdone = 1; + Module::dprogress++; t = isAnonymous() ? memtype : type; symtab = new DsymbolTable();