Skip to content

Conversation

@Tschipp
Copy link
Contributor

@Tschipp Tschipp commented Sep 23, 2022

Adds postfix operatorts ++ and --,
which are compiled to (v.x=v.x+1;0)+v.x-1 and (v.x=v.x-1;0)+v.x+1 respectively.
Test 'v.x = 1 + v.y++ + 2;': 'v.x=1+(v.y=v.y+1;0)+v.y-1+2;' still fails, because the parse order is incorrect.

@Tschipp
Copy link
Contributor Author

Tschipp commented Sep 23, 2022

Not sure why the previous two commits are also included here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant