On 08/29/2010 05:30 PM, Paolo Bonzini wrote:
> Which failures are these? I had ported an older version successfully.
PParserTest is failing trying to copy the string from 0 to 3 which is
obviously wrong. It is something that I have done wrong in the conversion of
PetitParser. As I said it is accessing member variables of PositionableParser
and they are different in GST, I tried to pick selectors and I still have to
understand where PositionableParser starts to count (0 or 1)... so it is more
a learning experience than a tough issue.
The code from the testcase that is failing is below and it fails as "'a'
readStream asPetitStream" is failing..
parser := $a asParser.
self assert: (parser parse: 'a' readStream) = $a.
_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk