|
|
|
@ -262,6 +262,13 @@ namespace Compiler
|
|
|
|
|
Generator::disable (mCode, mLiterals, mExplicit);
|
|
|
|
|
mState = PotentialEndState;
|
|
|
|
|
return true;
|
|
|
|
|
|
|
|
|
|
case Scanner::K_startscript:
|
|
|
|
|
|
|
|
|
|
mExprParser.parseArguments ("c", scanner, mCode);
|
|
|
|
|
Generator::startScript (mCode, mLiterals, mExplicit);
|
|
|
|
|
mState = EndState;
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// check for custom extensions
|
|
|
|
@ -361,13 +368,6 @@ namespace Compiler
|
|
|
|
|
mState = EndState;
|
|
|
|
|
return true;
|
|
|
|
|
|
|
|
|
|
case Scanner::K_startscript:
|
|
|
|
|
|
|
|
|
|
mExprParser.parseArguments ("c", scanner, mCode);
|
|
|
|
|
Generator::startScript (mCode);
|
|
|
|
|
mState = EndState;
|
|
|
|
|
return true;
|
|
|
|
|
|
|
|
|
|
case Scanner::K_stopscript:
|
|
|
|
|
|
|
|
|
|
mExprParser.parseArguments ("c", scanner, mCode);
|
|
|
|
|