1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 00:42:33 +03:00

use tree_sitter_tsx from TreeSitter.TSX instead of Language.TSX.Grammar

This commit is contained in:
Ayman Nadeem 2020-02-04 16:21:54 -05:00
parent 3c393606fa
commit ce819f99dc

View File

@ -16,7 +16,6 @@ module Language.TSX.AST
import Prelude hiding (False, Float, Integer, String, True)
import AST.GenerateSyntax
import qualified Language.TSX.Grammar as Grammar
import TreeSitter.TSX (getNodeTypesPath)
import qualified TreeSitter.TSX as TSX
runIO TSX.getNodeTypesPath >>= astDeclarationsForLanguage Grammar.tree_sitter_tsx
runIO TSX.getNodeTypesPath >>= astDeclarationsForLanguage TSX.tree_sitter_tsx