--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/PPEndOfLineParser.st Mon Nov 24 00:09:23 2014 +0000
@@ -0,0 +1,18 @@
+"{ 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
+! !
+