Fixed and+dowhile on ASC2 - precontinue can use stack.

This commit is contained in:
Jindra Petřík
2021-02-01 06:30:11 +01:00
parent df3fde1f96
commit dc1ef96e70
17 changed files with 60 additions and 9 deletions

View File

@@ -24,6 +24,7 @@ package
TestDefaultNotLastGrouped;
TestDoWhile;
TestDoWhile2;
TestDoWhile3;
TestExpressions;
TestFinallyZeroJump;
TestFor;

View File

@@ -0,0 +1,26 @@
package tests
{
/**
* ...
* @author JPEXS
*/
public class TestDoWhile3
{
private var ch:String;
public function run() : void
{
do
{
nextChar();
} while ( ch != '\n' && ch != '' )
}
private function nextChar() : void
{
trace("process next char");
}
}
}