mirror of
https://github.com/github/semantic.git
synced 2024-12-18 04:11:48 +03:00
Don’t attempt to parse Haskell sources.
This commit is contained in:
parent
db93c7813c
commit
36e7e49f72
@ -1,7 +1,6 @@
|
||||
module Parser where
|
||||
|
||||
import Diff
|
||||
import Haskell
|
||||
import Range
|
||||
import Syntax
|
||||
import Term
|
||||
@ -11,7 +10,6 @@ import Control.Comonad.Cofree
|
||||
type Parser = String -> IO (Term String Info)
|
||||
|
||||
parserForType :: String -> Parser
|
||||
parserForType ".hs" = runHaskellParser
|
||||
parserForType mediaType = maybe lineByLineParser parseTreeSitterFile $ languageForType mediaType
|
||||
|
||||
lineByLineParser :: Parser
|
||||
|
Loading…
Reference in New Issue
Block a user