mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-29 05:17:58 +03:00
removed an unused parser settings (implicitly fixing a case were this setting was not applied correctly)
This commit is contained in:
parent
27c795483b
commit
12fc0aaecb
3 changed files with 10 additions and 18 deletions
|
@ -166,7 +166,7 @@ namespace Compiler
|
|||
if (!arguments.empty())
|
||||
{
|
||||
mExprParser.reset();
|
||||
mExprParser.parseArguments (arguments, scanner, mCode, true);
|
||||
mExprParser.parseArguments (arguments, scanner, mCode);
|
||||
}
|
||||
|
||||
mName = name;
|
||||
|
@ -278,7 +278,7 @@ namespace Compiler
|
|||
mExplicit.clear();
|
||||
}
|
||||
|
||||
int optionals = mExprParser.parseArguments (argumentType, scanner, mCode, true);
|
||||
int optionals = mExprParser.parseArguments (argumentType, scanner, mCode);
|
||||
|
||||
extensions->generateInstructionCode (keyword, mCode, mLiterals, mExplicit, optionals);
|
||||
mState = EndState;
|
||||
|
@ -363,14 +363,14 @@ namespace Compiler
|
|||
|
||||
case Scanner::K_startscript:
|
||||
|
||||
mExprParser.parseArguments ("c", scanner, mCode, true);
|
||||
mExprParser.parseArguments ("c", scanner, mCode);
|
||||
Generator::startScript (mCode);
|
||||
mState = EndState;
|
||||
return true;
|
||||
|
||||
case Scanner::K_stopscript:
|
||||
|
||||
mExprParser.parseArguments ("c", scanner, mCode, true);
|
||||
mExprParser.parseArguments ("c", scanner, mCode);
|
||||
Generator::stopScript (mCode);
|
||||
mState = EndState;
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue