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:
parent
3fce07a948
commit
0b6fa7bf93
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user