Precontinue detector handles do..while properly.

This commit is contained in:
Jindra Petřík
2021-02-01 09:37:29 +01:00
parent b432037bf8
commit 8de1230bf9
3 changed files with 93 additions and 35 deletions

View File

@@ -954,18 +954,15 @@ public class ActionScript2Test extends ActionScript2TestBase {
+ "if(_loc1_ == \"b\")\r\n"
+ "{\r\n"
+ "trace(\"hi\");\r\n"
+ "break;\r\n"
+ "}\r\n"
+ "else if(_loc1_ == \"c\")\r\n"
+ "if(_loc1_ == \"c\")\r\n"
+ "{\r\n"
+ "trace(\"hello\");\r\n"
+ "}\r\n"
+ "else\r\n"
+ "{\r\n"
+ "trace(\"hohoho\");\r\n"
+ "continue;\r\n"
+ "}\r\n"
+ "break;\r\n"
+ "}\r\n"
+ "trace(\"hohoho\");\r\n"
+ "}\r\n"
+ "trace(\"after\");\r\n"
+ "}\r\n"
+ "function testFunc5()\r\n"