Commit Graph

7 Commits

Author SHA1 Message Date
Roman Cheplyaka
b8990ab042 When merging error messages, prefer known messages to unknown ones
This fixes a regression introduced by:

Sun Feb 20 18:24:22 EET 2011  Roman Cheplyaka <roma@ro-che.info>
  * Choose the longest match when merging error messages

The source of the regression is that parsec sometimes generates dummy (aka
"unknown") error messages when no actual error has occurred.

So, when merging errors, before simply looking at the positions we should check
if one of them is unknown and just ignore it.

Reported by Matthias Hörmann.
2012-05-30 22:38:09 +00:00
Roman Cheplyaka
0a10e27db4 Choose the longest match when merging error messages 2011-02-20 16:24:22 +00:00
Derek Elkins
ce708e0972 Clean most warnings 2008-02-13 04:32:24 +00:00
Derek Elkins
ee69496c3b Fix some references in the Text.Parsec.Error documentation 2008-01-22 01:35:30 +00:00
Derek Elkins
3f1095204e Haddock documentation for Text.Parsec.Error 2008-01-20 06:15:04 +00:00
Derek Elkins
8ea4b8982f Changing maintainer email 2008-01-20 04:44:41 +00:00
Derek Elkins
93826a6007 Initial import 2008-01-13 17:53:15 +00:00