Mercurial > projects > dang
diff basic/Attribute.d @ 148:6ec686d9c87d
Fixed some for parsing, and removed a little ugly bug.
author | Anders Johnsen <skabet@gmail.com> |
---|---|
date | Mon, 21 Jul 2008 20:28:11 +0200 |
parents | 6e6355fb5f0f |
children |
line wrap: on
line diff
--- a/basic/Attribute.d Mon Jul 21 19:17:56 2008 +0200 +++ b/basic/Attribute.d Mon Jul 21 20:28:11 2008 +0200 @@ -104,8 +104,8 @@ bool getAbstract() { return att & Abstract ? true : false; } void setOverride() { att |= Override; } bool getOverride() { return att & Override ? true : false; } - void setDepracted() { att |= Depracted; } - bool getDepracted() { return att & Depracted ? true : false; } + void setDeprecated(){ att |= Deprecated; } + bool getDeprecated(){ return att & Deprecated ? true : false; } void setAuto() { att |= Auto; } bool getAuto() { return att & Auto ? true : false; } @@ -123,6 +123,6 @@ static const uint Const = 1<<7; static const uint Abstract = 1<<8; static const uint Override = 1<<9; - static const uint Depracted = 1<<10; + static const uint Deprecated = 1<<10; static const uint Auto = 1<<11; }