mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-21 10:23:52 +00:00
Issue #601: unary minus was interpreted as binary minus when used in an argument list without comma
This commit is contained in:
parent
e8b08326dc
commit
46bde604f9
1 changed files with 2 additions and 2 deletions
|
@ -603,8 +603,8 @@ namespace Compiler
|
||||||
|
|
||||||
switch (code)
|
switch (code)
|
||||||
{
|
{
|
||||||
case Scanner::S_plus: pushBinaryOperator ('+'); return true;
|
case Scanner::S_plus: c = '+'; break;
|
||||||
case Scanner::S_minus: pushBinaryOperator ('-'); return true;
|
case Scanner::S_minus: c = '-'; break;
|
||||||
case Scanner::S_mult: pushBinaryOperator ('*'); return true;
|
case Scanner::S_mult: pushBinaryOperator ('*'); return true;
|
||||||
case Scanner::S_div: pushBinaryOperator ('/'); return true;
|
case Scanner::S_div: pushBinaryOperator ('/'); return true;
|
||||||
case Scanner::S_cmpEQ: c = 'e'; break;
|
case Scanner::S_cmpEQ: c = 'e'; break;
|
||||||
|
|
Loading…
Reference in a new issue