From 97e3da41b1023ab6e98a3b67056732e8cb5ac260 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 14 Jan 2016 22:30:49 +0000 Subject: documentation grammar --- bbcode/src/Text/BBCode.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bbcode/src/Text') diff --git a/bbcode/src/Text/BBCode.hs b/bbcode/src/Text/BBCode.hs index 2e3a753..6fef446 100644 --- a/bbcode/src/Text/BBCode.hs +++ b/bbcode/src/Text/BBCode.hs @@ -64,7 +64,7 @@ bbcode :: Text -> Either BBCodeError [DomTree] bbcode t = fmap dom $ first LexerError (parseOnly (many token <* endOfInput) t) >>= first TreeError . rose -- | Errors in input encountered during parsing of lexed token-stream -data TreeError = MismatchedTags Text Text -- ^ Closing tags does not match opening tags +data TreeError = MismatchedTags Text Text -- ^ Closing tags label does not match opening tags | ImbalancedTags Text -- ^ We found an extraneous closing tag deriving (Show, Eq, Generic, Typeable) -- cgit v1.2.3