packages: ming/ming-build_fix.patch (NEW) - fix for "$$ for the midrule at ...

hawk hawk at pld-linux.org
Sat Feb 27 14:42:24 CET 2010


Author: hawk                         Date: Sat Feb 27 13:42:24 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix for "$$ for the midrule at $2 of `opcode' has no declared type"

---- Files affected:
packages/ming:
   ming-build_fix.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/ming/ming-build_fix.patch
diff -u /dev/null packages/ming/ming-build_fix.patch:1.1
--- /dev/null	Sat Feb 27 14:42:24 2010
+++ packages/ming/ming-build_fix.patch	Sat Feb 27 14:42:19 2010
@@ -0,0 +1,24 @@
+diff --git a/src/actioncompiler/swf5compiler.y b/src/actioncompiler/swf5compiler.y
+--- a/src/actioncompiler/swf5compiler.y
++++ b/src/actioncompiler/swf5compiler.y
+@@ -1795,7 +1795,7 @@
+ 
+ with
+ 	: WITH
+-				{ $$ = bufferWriteOp(asmBuffer,
++				{ $<len>$ = bufferWriteOp(asmBuffer,
+ 						     SWFACTION_WITH); }
+ 	  opcode_list END	{ $$ = $<len>2 + $3;
+ 				  bufferPatchLength(asmBuffer, $3); }
+@@ -1828,9 +1828,9 @@
+ 	;
+ 
+ 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); }
+ 
================================================================


More information about the pld-cvs-commit mailing list