Sorry, I don't understand your mail :-) Lukas 2010/6/17 Ross Boylan <ross@biostat.ucsf.edu>
While the code change does run, it does not do the right thing in the context of the PetitParser system: some subclasses return non-string objects, and with my code change they won't.
Ross
-------- Original Message -------- Subject: PPFlattenParser fix Date: Mon, 14 Jun 2010 17:47:30 -0700 From: Ross Boylan <ross@biostat.ucsf.edu> Organization: UCSF To: Pharo-project@lists.gforge.inria.fr CC: ross@biostat.ucsf.edu
The original parseOn: code failed for me with a FileStream in the Pharo 1.0 image. The last line gets the collection of the stream, and this is nil (or something that didn't work in the invoked method). I've attached a revision that works for me.
Ross
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Lukas Renggli www.lukas-renggli.ch