Closed evgTSV closed 2 weeks ago
Before we have this PR, I see issue like that
char s[1024];
int i, c;
for (i=0; (c = getchar()) != '\n'; i++)
s[i] = c;
s[i] = '\0';
Currently last character from input eaten up.
Can you please verify, or better somehow add integration test which capture that this change fix an issue (at least I hope so)
Closes #648
Now, using
dup
instruction to create duplicate and apply operator to it, PostfixIncrementDecrementExpression returns old value (before operator)I added new types of expression:
Codegen diff example:
Was:
Now: