Poratbility: do not use #removeAtIndex: under Pharo.
Pharo does not have #removeAtIndex: which is actually
and ANSI protocol. But Pharoers do not like ANSI and don't
give a shit about compatibility.
To workaround it, use super-ugly #respondsTo: test.
"{ Package: 'stx:goodies/petitparser' }"
PPParser subclass:#PPEndOfLineParser
instanceVariableNames:''
classVariableNames:''
poolDictionaries:''
category:'PetitParser-Parsers'
!
!PPEndOfLineParser methodsFor:'parsing'!
parseOn: aPPContext
(aPPContext isEndOfLine) ifTrue: [
^ #endOfLine
].
^ PPFailure message: 'End of line expected' context: aPPContext at: aPPContext position
! !