added Enable, Disable, GetDisabled

This commit is contained in:
Marc Zinnschlag 2010-07-09 16:07:03 +02:00
parent 4ecb63203b
commit 592fa84e2d
22 changed files with 310 additions and 12 deletions

View file

@ -346,7 +346,17 @@ namespace Compiler
mNextOperand = false;
return true;
}
}
else if (keyword==Scanner::K_getdisabled)
{
mTokenLoc = loc;
Generator::getDisabled (mCode);
mOperands.push_back ('l');
mNextOperand = false;
return true;
}
else
{
// check for custom extensions