[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/avm2 r9621: Improve conversion of Class.pr
From: |
Tom Stellard |
Subject: |
[Gnash-commit] /srv/bzr/gnash/avm2 r9621: Improve conversion of Class.property to Reflect.field(Class, property) |
Date: |
Tue, 14 Oct 2008 11:30:41 +0800 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 9621
committer: Tom Stellard <address@hidden>
branch nick: gnash_dev
timestamp: Tue 2008-10-14 11:30:41 +0800
message:
Improve conversion of Class.property to Reflect.field(Class,property)
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-14 00:06:05
+0000
+++ b/testsuite/actionscript.all/haxe-swf9/as_to_hx.pl 2008-10-14 03:30:41
+0000
@@ -127,7 +127,7 @@
}
#Replace things like String.charCodeAt with
Reflect.field(String,'charCodeAt').
- $_ =~ s/(\w+)\.(\w+)\s*([\.\)])/Reflect.field($1,'$2')$3/g;
+ $_ =~ s/([a-zA-Z]+)\.([a-zA-Z]+)\s*([\.\)])/Reflect.field($1,'$2')$3/g;
#Replace typeof:
#TODO: Handle typeof and typeOf differently?
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/avm2 r9621: Improve conversion of Class.property to Reflect.field(Class, property),
Tom Stellard <=