mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-23 05:17:32 +00:00
Fixed and+dowhile on ASC2 - precontinue can use stack.
This commit is contained in:
BIN
libsrc/ffdec_lib/testdata/flashdevelop/bin/Main.air.swf
vendored
Normal file
BIN
libsrc/ffdec_lib/testdata/flashdevelop/bin/Main.air.swf
vendored
Normal file
Binary file not shown.
BIN
libsrc/ffdec_lib/testdata/flashdevelop/bin/Main.flex.swf
vendored
Normal file
BIN
libsrc/ffdec_lib/testdata/flashdevelop/bin/Main.flex.swf
vendored
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
3
libsrc/ffdec_lib/testdata/flashdevelop/build_air_debug.bat
vendored
Normal file
3
libsrc/ffdec_lib/testdata/flashdevelop/build_air_debug.bat
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
@echo off
|
||||
set COMPILERKIND=air
|
||||
call c:\air\bin\mxmlc.bat -warnings=false -debug=true -output bin/Main.%COMPILERKIND%.swf src/Main.as 1> buildlog.%COMPILERKIND%.txt 2>&1
|
||||
3
libsrc/ffdec_lib/testdata/flashdevelop/build_flex_debug.bat
vendored
Normal file
3
libsrc/ffdec_lib/testdata/flashdevelop/build_flex_debug.bat
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
@echo off
|
||||
set COMPILERKIND=flex
|
||||
c:\flex\bin\mxmlc.exe -warnings=false -debug=true -output bin/Main.%COMPILERKIND%.swf src/Main.as 1> buildlog.%COMPILERKIND%.txt 2>&1
|
||||
@@ -4,7 +4,7 @@
|
||||
<output>
|
||||
<movie outputType="Application" />
|
||||
<movie input="" />
|
||||
<movie path="bin\flashdevelop.swf" />
|
||||
<movie path="bin\Main.flex.swf" />
|
||||
<movie fps="30" />
|
||||
<movie width="800" />
|
||||
<movie height="600" />
|
||||
@@ -12,6 +12,7 @@
|
||||
<movie minorVersion="0" />
|
||||
<movie platform="Flash Player" />
|
||||
<movie background="#FFFFFF" />
|
||||
<movie preferredSDK="Flex 4.6.0, AIR 3.1;4.6.0, 3.1;" />
|
||||
</output>
|
||||
<!-- Other classes to be compiled into your SWF -->
|
||||
<classpaths>
|
||||
@@ -81,7 +82,7 @@
|
||||
<!-- Executed before build -->
|
||||
<preBuildCommand />
|
||||
<!-- Executed after build -->
|
||||
<postBuildCommand alwaysRun="False" />
|
||||
<postBuildCommand alwaysRun="False">build_air_debug.bat</postBuildCommand>
|
||||
<!-- Other project options -->
|
||||
<options>
|
||||
<option showHiddenPaths="False" />
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
<!--Any modifications you make may be lost.-->
|
||||
<flex-config>
|
||||
<target-player>25.0</target-player>
|
||||
<benchmark>false</benchmark>
|
||||
<static-link-runtime-shared-libraries>true</static-link-runtime-shared-libraries>
|
||||
<compiler>
|
||||
<define append="true">
|
||||
<name>CONFIG::debug</name>
|
||||
@@ -14,7 +16,7 @@
|
||||
</define>
|
||||
<define append="true">
|
||||
<name>CONFIG::timeStamp</name>
|
||||
<value>'29.01.2021'</value>
|
||||
<value>'01.02.2021'</value>
|
||||
</define>
|
||||
<define append="true">
|
||||
<name>CONFIG::air</name>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
</define>
|
||||
<define append="true">
|
||||
<name>CONFIG::timeStamp</name>
|
||||
<value>'29.01.2021'</value>
|
||||
<value>'01.02.2021'</value>
|
||||
</define>
|
||||
<define append="true">
|
||||
<name>CONFIG::air</name>
|
||||
|
||||
@@ -24,6 +24,7 @@ package
|
||||
TestDefaultNotLastGrouped;
|
||||
TestDoWhile;
|
||||
TestDoWhile2;
|
||||
TestDoWhile3;
|
||||
TestExpressions;
|
||||
TestFinallyZeroJump;
|
||||
TestFor;
|
||||
|
||||
26
libsrc/ffdec_lib/testdata/flashdevelop/src/tests/TestDoWhile3.as
vendored
Normal file
26
libsrc/ffdec_lib/testdata/flashdevelop/src/tests/TestDoWhile3.as
vendored
Normal 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");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user