From c8109cff079ceaa16f18bc8dfa01dcb2645cc8cd Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Tue, 22 Jan 2002 02:05:34 +0000 Subject: Add flasm-1.32; Command line assembler/disassembler of flash actionscript bytecode. --- graphics/flasm/files/patch-assembler.y | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 graphics/flasm/files/patch-assembler.y (limited to 'graphics/flasm/files/patch-assembler.y') diff --git a/graphics/flasm/files/patch-assembler.y b/graphics/flasm/files/patch-assembler.y new file mode 100644 index 000000000000..c1d555d13120 --- /dev/null +++ b/graphics/flasm/files/patch-assembler.y @@ -0,0 +1,19 @@ +--- assembler.y.orig Tue Jan 22 10:33:01 2002 ++++ assembler.y Tue Jan 22 10:33:09 2002 +@@ -491,16 +491,10 @@ + : SETTARGET STRING { $$ = writeByte(SWFACTION_SETTARGET); + $$ += writeShort(strlen($2)+1); + $$ += writeString($2); } +- statements_opt END { $$ = $4 + writeByte(SWFACTION_SETTARGET); +- $$ += $3 + writeShort(1); +- $$ += writeByte(0); } + ; + + settargetexpression + : SETTARGETEXPR { $$ = writeByte(SWFACTION_SETTARGETEXPRESSION); } +- statements_opt END { $$ = $3 + writeByte(SWFACTION_SETTARGET); +- $$ += $2 + writeShort(1); +- $$ += writeByte(0); } + ; + + push_item -- cgit v1.2.3