Mercurial > projects > ddmd
diff dmd/Declaration.d @ 137:09c858522d55
merge
author | Trass3r |
---|---|
date | Mon, 13 Sep 2010 23:29:00 +0200 |
parents | af1bebfd96a4 |
children | bc45b1c53019 |
line wrap: on
line diff
--- a/dmd/Declaration.d Mon Sep 13 23:27:38 2010 +0200 +++ b/dmd/Declaration.d Mon Sep 13 23:29:00 2010 +0200 @@ -158,7 +158,7 @@ string p = null; if (isConst()) p = "const"; - else if (isInvariant()) + else if (isImmutable()) p = "immutable"; else if (storage_class & STC.STCmanifest) p = "enum"; @@ -311,7 +311,7 @@ bool isConst() { return (storage_class & STC.STCconst) != 0; } - int isInvariant() { return storage_class & STC.STCinvariant; } + int isImmutable() { return storage_class & STC.STCimmutable; } int isAuto() { return storage_class & STC.STCauto; }