aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/ming/files/patch-src_actioncompiler_swf5compiler.y
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ming/files/patch-src_actioncompiler_swf5compiler.y')
-rw-r--r--graphics/ming/files/patch-src_actioncompiler_swf5compiler.y23
1 files changed, 23 insertions, 0 deletions
diff --git a/graphics/ming/files/patch-src_actioncompiler_swf5compiler.y b/graphics/ming/files/patch-src_actioncompiler_swf5compiler.y
new file mode 100644
index 000000000000..cf0ccde2b457
--- /dev/null
+++ b/graphics/ming/files/patch-src_actioncompiler_swf5compiler.y
@@ -0,0 +1,23 @@
+--- src/actioncompiler/swf5compiler.y.orig 2006-02-08 23:48:38.000000000 +0100
++++ src/actioncompiler/swf5compiler.y 2009-03-06 11:32:10.000000000 +0100
+@@ -1795,7 +1795,7 @@ opcode_list
+
+ with
+ : WITH
+- { $$ = bufferWriteOp(asmBuffer,
++ { $<len>$ = bufferWriteOp(asmBuffer,
+ SWFACTION_WITH); }
+ opcode_list END { $$ = $<len>2 + $3;
+ bufferPatchLength(asmBuffer, $3); }
+@@ -1828,9 +1828,9 @@ push_list
+ ;
+
+ opcode
+- : PUSH { $$ = bufferWriteOp(asmBuffer,
++ : PUSH { $<len>$ = bufferWriteOp(asmBuffer,
+ SWFACTION_PUSH);
+- $$ += bufferWriteS16(asmBuffer, 0); }
++ $<len>$ += bufferWriteS16(asmBuffer, 0); }
+ push_list { $$ = $<len>2 + $3;
+ bufferPatchLength(asmBuffer, $3); }
+