[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/avm2 r9629: Replace isNan with Math.isNan
From: |
Tom Stellard |
Subject: |
[Gnash-commit] /srv/bzr/gnash/avm2 r9629: Replace isNan with Math.isNan |
Date: |
Sun, 19 Oct 2008 14:09:19 +0800 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 9629
committer: Tom Stellard <address@hidden>
branch nick: gnash_dev
timestamp: Sun 2008-10-19 14:09:19 +0800
message:
Replace isNan with Math.isNan
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-19 06:01:52
+0000
+++ b/testsuite/actionscript.all/haxe-swf9/as_to_hx.pl 2008-10-19 06:09:19
+0000
@@ -165,11 +165,10 @@
# skip_line();
# next
}
- if(index($_,"isNaN") != $[-1){
-# $_ =~ s/(isNaN)/Math\.$1/g;
- skip_line();
- next;
- }
+
+ #Replace isNan(number) with Math.isNan(number)
+ $_ =~ s/isNaN/Math.isNaN/g;
+
#CHECK 5
#Calls to split()
if(index($_,"split") != $[-1){
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/avm2 r9629: Replace isNan with Math.isNan,
Tom Stellard <=