Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix get_string() in EclectusCharacter

  • Loading branch information...
commit 98f707585954c7c0ff5d4e6ecf2d63a9570ae9d5 1 parent 79b14fd
@bschmalhofer authored
Showing with 7 additions and 7 deletions.
  1. +7 −7 src/pmc/eclectuscharacter.pmc
View
14 src/pmc/eclectuscharacter.pmc
@@ -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()));
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.