Closed khinsen closed 4 years ago
$a asPParser parse: 'x' yields a useful failure mesage: 'literal $a expected'
$a asPParser parse: 'x'
'literal $a expected'
$a asPParser end parse: 'x' yields 'end of input expected' instead, which (1) is not helpful and (2) is wrong.
$a asPParser end parse: 'x'
'end of input expected'
$a asPParser parse: 'x'
yields a useful failure mesage:'literal $a expected'
$a asPParser end parse: 'x'
yields'end of input expected'
instead, which (1) is not helpful and (2) is wrong.