Skip to content

Commit

Permalink
[WMLScript] Fixed a segfault, making more string tests pass. Now only…
Browse files Browse the repository at this point in the history
… one

fails, and it's not a segfault.

git-svn-id: https://svn.parrot.org/parrot/trunk@26448 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information
chromatic committed Mar 17, 2008
1 parent 4e4cc10 commit 9693102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion languages/WMLScript/pmc/wmlsstring.pmc
Expand Up @@ -1919,7 +1919,7 @@ MMD_DEFAULT: {
METHOD PMC* parseNumber() {
PMC *retval;

if (retval->vtable->base_type == dynpmc_WmlsInvalid)
if (SELF->vtable->base_type == dynpmc_WmlsInvalid)
Parrot_PCCINVOKE(interp, SELF, const_string(interp, "parseFloat"),
"->P", &retval);
else
Expand Down

0 comments on commit 9693102

Please sign in to comment.