Skip to content

Commit

Permalink
fix get_string() in EclectusCharacter
Browse files Browse the repository at this point in the history
  • Loading branch information
bschmalhofer committed Mar 23, 2009
1 parent 79b14fd commit 98f7075
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/pmc/eclectuscharacter.pmc
Expand Up @@ -20,16 +20,16 @@ character behavior. Derived from the Amber_CHARACTER PMC.

pmclass EclectusCharacter
extends Integer
does Integer
does Integer
dynpmc
group eclectus_group
hll Eclectus
maps Integer {
group eclectus_group
hll Eclectus
maps Integer {

VTABLE STRING* get_string() {
return string_append(INTERP,
CONST_STRING(INTERP, "#\\"),
string_chr(INTERP, PMC_int_val(SELF)));
return Parrot_str_append(INTERP,
CONST_STRING(INTERP, "#\\"),
string_chr(INTERP, SELF.get_integer()));
}
}

Expand Down

0 comments on commit 98f7075

Please sign in to comment.