[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/avm2 r9523: If FINDPROPSTRICT fails to fin
From: |
Tom Stellard |
Subject: |
[Gnash-commit] /srv/bzr/gnash/avm2 r9523: If FINDPROPSTRICT fails to find a property print a warning instead of throwing an exception. |
Date: |
Sat, 23 Aug 2008 00:14:15 +0800 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 9523
committer: Tom Stellard <address@hidden>
branch nick: gnash_dev
timestamp: Sat 2008-08-23 00:14:15 +0800
message:
If FINDPROPSTRICT fails to find a property print a warning instead of
throwing an exception.
modified:
libcore/vm/Machine.h
=== modified file 'libcore/vm/Machine.h'
--- a/libcore/vm/Machine.h 2008-08-22 15:57:06 +0000
+++ b/libcore/vm/Machine.h 2008-08-22 16:14:15 +0000
@@ -295,7 +295,9 @@
return p;
}
}
- throw GnashException("Cannot find property in scope stack");
+ print_scope_stack();
+ LOG_DEBUG_AVM("Cannot find property in scope stack.");
+ push_stack(as_value());
}
void get_property(string_table::key name,string_table::key ns){
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/avm2 r9523: If FINDPROPSTRICT fails to find a property print a warning instead of throwing an exception.,
Tom Stellard <=