1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +00:00

fixed script compiler code ordering issue

This commit is contained in:
Marc Zinnschlag 2014-09-09 13:55:10 +02:00
parent b2e8d61b43
commit 14f32563e7

View File

@ -307,7 +307,7 @@ namespace Compiler
std::vector<Interpreter::Type_Code> code;
optionals = mExprParser.parseArguments (argumentType, scanner, code);
mCode.insert (mCode.begin(), code.begin(), code.end());
mCode.insert (mCode.end(), code.begin(), code.end());
extensions->generateInstructionCode (keyword, mCode, mLiterals,
mExplicit, optionals);
}