Fixed pre-increment and pre-decrement operators

Fixes #2176
This commit is contained in:
Lemongrass3110
2017-07-28 22:50:35 +02:00
parent 0126759d00
commit 6748ff7e17

View File

@@ -1471,8 +1471,8 @@ const char* parse_subexpr(const char* p,int limit)
p = skip_space(p);
while((
(op=C_OP3,opl=0,len=1,*p=='?') ||
(op=C_ADD,opl=9,len=1,*p=='+') ||
(op=C_SUB,opl=9,len=1,*p=='-') ||
((op=C_ADD,opl=9,len=1,*p=='+') && p[1]!='+') ||
((op=C_SUB,opl=9,len=1,*p=='-') && p[1]!='-') ||
(op=C_MUL,opl=10,len=1,*p=='*') ||
(op=C_DIV,opl=10,len=1,*p=='/') ||
(op=C_MOD,opl=10,len=1,*p=='%') ||