burdiuz / jsinterface

Automatically exported from code.google.com/p/jsinterface
0 stars 0 forks source link

! 1106: Empty statement found where block of code was expected. Did you type ";" accidentally? #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There are a few places where the new Flex 4 compiler is throwing warnings for 
things like this:

while(str.charAt(--mI)==STRING_META_CHAR);

Is that meant to be like that?  There's an image attached with the others.

Original issue reported on code.google.com by lanceJpo...@gmail.com on 8 Dec 2009 at 3:35

Attachments:

GoogleCodeExporter commented 9 years ago
Yes, this is normal. Cycle needed for search special char, i am doing this in 
cycle 
condition and without cycle body.
If add cycle body:
while(str.charAt(--mI)==STRING_META_CHAR){
}
this warnings will disapear. This will not affect execution time.

Just use precompiled library, i will fix that in next revision.
Thank's for posting.

Original comment by burd...@gmail.com on 8 Dec 2009 at 9:15

GoogleCodeExporter commented 9 years ago

Original comment by burd...@gmail.com on 8 Dec 2009 at 9:15

GoogleCodeExporter commented 9 years ago

Original comment by burd...@gmail.com on 8 Apr 2010 at 7:25