1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-04-01 00:36:46 +00:00

Merge remote-tracking branch 'zelurker/scripts_unary_plus'

This commit is contained in:
Marc Zinnschlag 2015-09-26 11:25:40 +02:00
commit 2158bfe285

View file

@ -650,8 +650,13 @@ namespace Compiler
mOperators.push_back ('m'); mOperators.push_back ('m');
mTokenLoc = loc; mTokenLoc = loc;
return true; return true;
} else if (code ==Scanner::S_plus && mNextOperand) {
// Also unary, but +, just ignore it
mTokenLoc = loc;
return true;
} }
if (code==Scanner::S_open) if (code==Scanner::S_open)
{ {
if (mNextOperand) if (mNextOperand)