AS3 p-code more RAbcDasm like

- get/setlocal_x renamed to get/setlocalx
- QName casing changed from Qname

Better increment/decrement detection, chained assignments.
This commit is contained in:
Jindra Petřík
2021-01-26 21:12:34 +01:00
parent 5cc22a1b4c
commit 0da0e41cc6
53 changed files with 1245 additions and 376 deletions

View File

@@ -0,0 +1,29 @@
package
{
import flash.display.Sprite;
import flash.events.Event;
import tests.*;
/**
* ...
* @author JPEXS
*/
public class Main extends Sprite
{
TestDupAssignment;
public function Main()
{
if (stage) init();
else addEventListener(Event.ADDED_TO_STAGE, init);
}
private function init(e:Event = null):void
{
removeEventListener(Event.ADDED_TO_STAGE, init);
// entry point
}
}
}

View File

@@ -0,0 +1,13 @@
package tests
{
public class TestDupAssignment
{
public function run() : void
{
//TODO: replace this using RABCDasm
}
}
}