improved error reporting for peg parsers