mirror of
https://github.com/github/semantic.git
synced 2024-12-20 21:31:48 +03:00
Use the AST synonym in the type of MarkdownParser.
This commit is contained in:
parent
a457d8777f
commit
bacb523b7f
@ -110,7 +110,7 @@ data Parser term where
|
||||
-> Assignment ast grammar (Term (Sum fs) Loc) -- ^ An assignment from AST onto 'Term's.
|
||||
-> Parser (Term (Sum fs) Loc) -- ^ A parser producing 'Term's.
|
||||
-- | A parser for 'Markdown' using cmark.
|
||||
MarkdownParser :: Parser (Term (TermF [] CMarkGFM.NodeType) (Node Markdown.Grammar))
|
||||
MarkdownParser :: Parser (AST (TermF [] CMarkGFM.NodeType) Markdown.Grammar)
|
||||
|
||||
|
||||
goParser :: Parser Go.Term
|
||||
|
Loading…
Reference in New Issue
Block a user