Hi all,
I had not updated to the last version of PetitParser for some weeks, now I did and the following rule breaks because PPInputEnds disappeared. Can anybody tell me how to update my rule? If I replace it by PPEndOfInputParser I get a DNU, so I guess I need to do something else.
endOfComment ^ PPInputEnds new / lineTerminator
---> Save our in-boxes! http://emailcharter.org <---
Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile
Hi,
Refactoring has happened.
The PPInputEnd is now PPEndOfFile (because PPEndOfInput was already used), following the pattern of PPEndOfLine, PPStartOfLine, PPStartOfWord, ... The preferred way to create such a parser is: '#eof asParser'. There are some more details in the class comments...
I am sorry for a confusion.
Cheers, Jan
On 20 March 2015 at 19:08, Johan Fabry jfabry@dcc.uchile.cl wrote:
Hi all,
I had not updated to the last version of PetitParser for some weeks, now I did and the following rule breaks because PPInputEnds disappeared. Can anybody tell me how to update my rule? If I replace it by PPEndOfInputParser I get a DNU, so I guess I need to do something else.
endOfComment ^ PPInputEnds new / lineTerminator
---> Save our in-boxes! http://emailcharter.org <---
Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Thanks Jan for your reply, now it works perfectly again :-)
On Mar 23, 2015, at 05:49, Jan Kurš kurs.jan@gmail.com wrote:
Hi,
Refactoring has happened.
The PPInputEnd is now PPEndOfFile (because PPEndOfInput was already used), following the pattern of PPEndOfLine, PPStartOfLine, PPStartOfWord, ... The preferred way to create such a parser is: '#eof asParser'. There are some more details in the class comments...
I am sorry for a confusion.
Cheers, Jan
On 20 March 2015 at 19:08, Johan Fabry <jfabry@dcc.uchile.cl mailto:jfabry@dcc.uchile.cl> wrote: Hi all,
I had not updated to the last version of PetitParser for some weeks, now I did and the following rule breaks because PPInputEnds disappeared. Can anybody tell me how to update my rule? If I replace it by PPEndOfInputParser I get a DNU, so I guess I need to do something else.
endOfComment ^ PPInputEnds new / lineTerminator
---> Save our in-boxes! http://emailcharter.org http://emailcharter.org/ <---
Johan Fabry - http://pleiad.cl/~jfabry http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile
Moose-dev mailing list Moose-dev@iam.unibe.ch mailto:Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
---> Save our in-boxes! http://emailcharter.org <---
Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile