[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/avm2 r9608: Don't skip attempts to set the
From: |
Tom Stellard |
Subject: |
[Gnash-commit] /srv/bzr/gnash/avm2 r9608: Don't skip attempts to set the length property of Strings. |
Date: |
Sat, 11 Oct 2008 00:35:30 +0800 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 9608
committer: Tom Stellard <address@hidden>
branch nick: gnash_dev
timestamp: Sat 2008-10-11 00:35:30 +0800
message:
Don't skip attempts to set the length property of Strings.
modified:
testsuite/actionscript.all/haxe-swf9/as_to_hx.pl
=== modified file 'testsuite/actionscript.all/haxe-swf9/as_to_hx.pl'
--- a/testsuite/actionscript.all/haxe-swf9/as_to_hx.pl 2008-10-10 16:30:52
+0000
+++ b/testsuite/actionscript.all/haxe-swf9/as_to_hx.pl 2008-10-10 16:35:30
+0000
@@ -171,13 +171,7 @@
$_ =~
s/(\w+)\.split\((.+),\s*(\w+)\s*\)/$2==""?[]:$1==""||$2==null?[$1]:$1.split($2).slice(0,$3)/g;
}
- if(index($_,"length") != $[-1){
- #Remove attemps to set strings length property. Haxe compliler
does not allow this.
- if($_ =~ /\w+\.length.*=.+;/){
- skip_line();
- next;
- }
- }
+
#Ignore calls to concat, I cannot find the equivilent haxe function.
if(index($_,"concat") != $[-1){
skip_line();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/avm2 r9608: Don't skip attempts to set the length property of Strings.,
Tom Stellard <=