On Fri Mar 30 21:31:53 2007, [EMAIL PROTECTED] wrote: > On Fri Mar 30 21:03:36 2007, [EMAIL PROTECTED] wrote: > > While I haven't fixed it, I've mitigated it a fair amount. The original > > version has 273 failing files. My painfully simple fix drops that to 130. > > > > My fix is just instead of blowing away the strings, instead just leave a > > placeholder (I use ""). > > Following #parrot discussion, this version (which has the exact same > failures) replaces 'strings' with '', "strings" with "", and /* comments > */ with /* */ > > It's a bit slower (has to do some captures and an eval each > substitution), and it does have the same failures, but it is more > correct. :) > > I didn't do three s/// because that crashes and burns on nested quotes. > Consider /* this is a 'comment */. perl was actually segfaulting until I > realized what was going on and restored it.
That did the trick! Thanks heaps :-) Applied in r17878. Paul