lang: Fix memory corruption bug introduced in commit ac613331d5062bcd1ae...

...bc25e03c7f321296c4110

- shifts from pre to post increment/decrement created a subtle bug

Should fix issue 999 and (hopefully) similar bugs.

Signed-off-by: Scott Wilson <i@scottwilson.ca>