1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 20:53:50 +00:00

Issue #601: unary minus was interpreted as binary minus when used in an argument list without comma

This commit is contained in:
Marc Zinnschlag 2013-03-17 17:13:25 +01:00
parent e8b08326dc
commit 46bde604f9

View file

@ -603,8 +603,8 @@ namespace Compiler
switch (code)
{
case Scanner::S_plus: pushBinaryOperator ('+'); return true;
case Scanner::S_minus: pushBinaryOperator ('-'); return true;
case Scanner::S_plus: c = '+'; break;
case Scanner::S_minus: c = '-'; break;
case Scanner::S_mult: pushBinaryOperator ('*'); return true;
case Scanner::S_div: pushBinaryOperator ('/'); return true;
case Scanner::S_cmpEQ: c = 'e'; break;