@ -650,7 +650,7 @@ namespace MWDialogue
locals = mEnvironment.mScriptManager->getLocals (actorScript);
}
Compiler::ScriptParser parser(mErrorHandler,mCompilerContext, locals);
Compiler::ScriptParser parser(mErrorHandler,mCompilerContext, locals, false);
scanner.scan (parser);
if(mErrorHandler.isGood())
@ -77,4 +77,3 @@ namespace Compiler
mOutput.clear();
@ -39,6 +39,11 @@ namespace Compiler
mState = CommaState;
return true;
else if (code==Scanner::S_newline && mState==StartState)
{
scanner.putbackSpecial (code, loc);
return false;
return Parser::parseSpecial (code, loc, scanner);