olety / cjass

Preserving cjass code from code.google.com/p/cjass
0 stars 0 forks source link

for loop error #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
    void foo() {
        for( int i = 0, i < 5, i++ ) {
        }

    }

What is the expected output? What do you see instead?
Critical error: Variables redeclared
#Ncjlocgn_00000002 i

What version of the product are you using? What flags are checked (i.e.
locals autoflush or removing unused code)
.35

Please provide any additional information below.
Like the crash this worked in .34 but doesnt anymore in .35

Original issue reported on code.google.com by erwgfifo...@gmail.com on 15 Aug 2011 at 5:33

GoogleCodeExporter commented 9 years ago
void foo() {
    for( int i = 0; i < 5; i++ ) {
    }   
}

Original comment by doctorge...@gmail.com on 15 Aug 2011 at 7:26

GoogleCodeExporter commented 9 years ago
Oh yeah...
thx.
Shouldnt crash tho :/

Original comment by erwgfifo...@gmail.com on 15 Aug 2011 at 7:42

GoogleCodeExporter commented 9 years ago
It same with blocks - issue 28.

Original comment by adi...@gmail.com on 16 Aug 2011 at 5:28

GoogleCodeExporter commented 9 years ago

Original comment by adi...@gmail.com on 16 Aug 2011 at 5:29