mirror of
https://github.com/github/semantic.git
synced 2024-12-28 09:21:35 +03:00
Add Syntax.Error to Markdown.
This commit is contained in:
parent
a0cf560d25
commit
6e5660c49d
@ -18,12 +18,14 @@ import GHC.Generics
|
|||||||
import GHC.Stack
|
import GHC.Stack
|
||||||
import Language.Markdown as Grammar (Grammar(..))
|
import Language.Markdown as Grammar (Grammar(..))
|
||||||
import qualified Data.Syntax.Assignment as Assignment
|
import qualified Data.Syntax.Assignment as Assignment
|
||||||
|
import qualified Data.Syntax as Syntax
|
||||||
import Prologue hiding (Location)
|
import Prologue hiding (Location)
|
||||||
import qualified Term
|
import qualified Term
|
||||||
|
|
||||||
type Syntax =
|
type Syntax =
|
||||||
'[ Document
|
'[ Document
|
||||||
, Paragraph
|
, Paragraph
|
||||||
|
, Syntax.Error Error
|
||||||
]
|
]
|
||||||
|
|
||||||
newtype Document a = Document [a]
|
newtype Document a = Document [a]
|
||||||
|
Loading…
Reference in New Issue
Block a user