Commit Graph

5 Commits

Author SHA1 Message Date
Geoffroy Couprie
981d036ca8 replace the basic error tuple with a struct
this will allow implementing traits on the error type
2020-08-24 11:35:14 +02:00
Geoffroy Couprie
afad7bf93e formatting 2020-04-10 11:08:18 +02:00
Geoffroy Couprie
84d1ac025b move parser implementation to use a Parser trait
this parser trait reproduces the behaviour of previous nom functions,
and uses &mut self instead of &self to allow FnMut closures to be used
as parsers
2020-04-09 16:10:26 +02:00
Geoffroy Couprie
6af969294c fix unit tests 2019-06-16 12:03:34 +02:00
Ankit
fa5b79b613 Fix escaped not returning err on failure 2019-06-13 21:42:10 +02:00