Revert "allow disable as an alias for getDisabled (in most cases)"

This reverts commit f7ff4fbd51.
This commit is contained in:
Marc Zinnschlag 2014-02-14 08:29:18 +01:00
parent f7ff4fbd51
commit b01c6dad37

View file

@ -366,8 +366,7 @@ namespace Compiler
{
if (mRefOp && mNextOperand)
{
if (keyword==Scanner::K_getdisabled ||
keyword==Scanner::K_disable) /// \todo add option to disable this
if (keyword==Scanner::K_getdisabled)
{
start();
@ -510,8 +509,7 @@ namespace Compiler
mNextOperand = false;
return true;
}
else if (keyword==Scanner::K_getdisabled ||
keyword==Scanner::K_disable) /// \todo add option to disable this
else if (keyword==Scanner::K_getdisabled)
{
start();