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 <[email protected]>
Organization:   UCSF
To:     [email protected]
CC:     [email protected]



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


Attachment: PPFlattenParser-parseOn.st
Description: application/mbox

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to