fixed space char detection bug
[swftools.git] / lib / as3 / err / badbreak.as
1 package {
2     import flash.display.MovieClip
3     public class Main extends flash.display.MovieClip {
4         function Main() {
5             var i:int;
6             
7             /* test for loop */
8             var j:int=0;
9             for(i=0;i<100;i++) {
10                 j++;
11                 if(i!=50)
12                     break badname;
13                 trace("ok 1/6");
14             }
15         }
16     }
17 }
18