On Monday 10 March 2008 12:37:50 Will Coleda wrote: > The conversion of tcllist.pmc to PDD17 isn't complete: there are > currently several invocations of String's replace method which in > trunk is the old C-style METHOD but in branch, is the new PDD17 style > METHOD. I tried to replace these, for example: > > - Parrot_String_nci_replace(INTERP, P0, > - string_from_literal(INTERP, "\\"), > string_from_literal(INTERP, "\\\\")); > > + STRING* orig,repl; > + orig = string_from_literal(INTERP, "\t"); > + repl = string_from_literal(INTERP, "\\t"); > + PCCINVOKE(INTERP, P0, "replace", STRING *orig, STRING *repl)
Try Parrot_PCCINVOKE instead of PCCINVOKE. The latter is a stupid macro that doesn't work very well. -- c