pre-increment as expression not handled correctly #3

aghast opened this Issue Mar 26, 2010 · 0 comments


None yet
1 participant

aghast commented Mar 26, 2010

In the version of -rx shipped with parrot 2.2, an expression like:

while (++$pos < $string_len)

generates PIR like:

find_lex $P804, "$pos"
inc $P804
set $N805, 
find_lex $P806, "$string_len"

Note the incomplete "set" statement on line 3.

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