Issue #842 For reconstruction if debug line info present

Spaces added between parts of for
This commit is contained in:
Jindra Petřík
2015-04-26 08:21:50 +02:00
parent fdda766be5
commit af31f85c49
12 changed files with 205 additions and 39 deletions

View File

@@ -138,7 +138,7 @@ public class ActionScript2Test extends ActionStript2TestBase {
public void frame28_forWithContinueTest() {
compareSrc(28, "trace(\"forWithContinueTest\");\r\n"
+ "var i = 0;\r\n"
+ "for(;i < 10;i++)\r\n"
+ "for(; i < 10; i++)\r\n"
+ "{\r\n"
+ "trace(\"hello:\" + i);\r\n"
+ "if(i == 5)\r\n"
@@ -213,7 +213,7 @@ public class ActionScript2Test extends ActionStript2TestBase {
public void frame32_switchForTest() {
compareSrc(32, "trace(\"switchForTest\");\r\n"
+ "var i = 0;\r\n"
+ "for(;i < 10;i++)\r\n"
+ "for(; i < 10; i++)\r\n"
+ "{\r\n"
+ "switch(i)\r\n"
+ "{\r\n"