Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

pre-increment as expression not handled correctly #3

Open
aghast opened this issue Mar 26, 2010 · 0 comments
Open

pre-increment as expression not handled correctly #3

aghast opened this issue Mar 26, 2010 · 0 comments

Comments

@aghast
Copy link

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant