Fixed goto/for detectionFixed goto/for detection

This commit is contained in:
Jindra Petřík
2021-01-23 08:58:26 +01:00
parent f30171188d
commit c5f992b675
5 changed files with 15 additions and 13 deletions

View File

@@ -253,8 +253,10 @@ public class ActionScript3Test extends ActionScriptTestBase {
+ "for(d = 0; d < 25; d++)\r\n"
+ "{\r\n"
+ "e = 0;\r\n"
+ "if(e < 50)\r\n"
+ "if(e >= 50)\r\n"
+ "{\r\n"
+ "continue;\r\n"
+ "}\r\n"
+ "if(e == 9)\r\n"
+ "{\r\n"
+ "break;\r\n"
@@ -263,12 +265,12 @@ public class ActionScript3Test extends ActionScriptTestBase {
+ "{\r\n"
+ "continue loop1;\r\n"
+ "}\r\n"
+ "if(e != 8)\r\n"
+ "if(e == 8)\r\n"
+ "{\r\n"
+ "continue;\r\n"
+ "}\r\n"
+ "break loop1;\r\n"
+ "}\r\n"
+ "}\r\n"
+ "}\r\n"
+ "trace(\"hello\");\r\n"
+ "}\r\n",
false);