Skip to content
This repository has been archived by the owner on Jun 9, 2018. It is now read-only.

Commit

Permalink
fix PMC build, PMC_union was removed from Parrot
Browse files Browse the repository at this point in the history
  • Loading branch information
fperrad committed Apr 13, 2009
1 parent 4b2e14e commit 7d5e669
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pmc/luanil.pmc
Expand Up @@ -79,9 +79,7 @@ Creates and returns a clone of the scalar.

*/
VTABLE PMC* clone() {
PMC * const dest = pmc_new(INTERP, PMC_type(SELF));
STRUCT_COPY(&PMC_union(dest), &PMC_union(SELF));
return dest;
return pmc_new(INTERP, PMC_type(SELF));
}

/*
Expand Down

0 comments on commit 7d5e669

Please sign in to comment.