diff options
author | johans <johans@FreeBSD.org> | 2009-03-06 20:04:11 +0800 |
---|---|---|
committer | johans <johans@FreeBSD.org> | 2009-03-06 20:04:11 +0800 |
commit | 22042d5823770cbfc2dfe8e5204aeca8bbd07a5e (patch) | |
tree | 6278b6ba7abe11dddf84df2261faaaa99bc5a989 /graphics/ming/files/patch-src_actioncompiler_swf5compiler.y | |
parent | cda4cb0e938960d41d98a51ee53848b56f54c6cc (diff) | |
download | freebsd-ports-gnome-22042d5823770cbfc2dfe8e5204aeca8bbd07a5e.tar.gz freebsd-ports-gnome-22042d5823770cbfc2dfe8e5204aeca8bbd07a5e.tar.zst freebsd-ports-gnome-22042d5823770cbfc2dfe8e5204aeca8bbd07a5e.zip |
- Update bison to 2.4.1, see announcements for important changes:
http://lists.gnu.org/archive/html/bug-bison/2008-11/msg00000.html
http://lists.gnu.org/archive/html/bug-bison/2008-12/msg00000.html
- Take over bison maintainership - as approved by portmgr (marcus)
- Add patches for ports to compile with new bison:
Replace %{ .. %} with %code { .. } where required
and accommodate stricter typing requirements
Thanks to pav for an exp-run on pointyhat
PR: ports/131640
Approved by: portmgr (pav)
Diffstat (limited to 'graphics/ming/files/patch-src_actioncompiler_swf5compiler.y')
-rw-r--r-- | graphics/ming/files/patch-src_actioncompiler_swf5compiler.y | 23 |
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); } + |