Merge remote-tracking branch 'zelurker/scripts_unary_plus'

openmw-37
Marc Zinnschlag 9 years ago
commit 2158bfe285

@ -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)

Loading…
Cancel
Save