1
1
mirror of https://github.com/github/semantic.git synced 2025-01-02 12:23:08 +03:00

handle assignment errors in markdown

This commit is contained in:
joshvera 2017-11-06 15:58:05 -05:00
parent 3fce07a948
commit 0b6fa7bf93

View File

@ -55,7 +55,7 @@ type Assignment = HasCallStack => Assignment.Assignment (TermF [] CMarkGFM.NodeT
assignment :: Assignment
assignment = makeTerm <$> symbol Document <*> children (Markup.Document <$> many blockElement)
assignment = handleError $ makeTerm <$> symbol Document <*> children (Markup.Document <$> many blockElement)
-- Block elements