mirror of
https://github.com/github/semantic.git
synced 2024-11-28 10:15:55 +03:00
Merge pull request #1700 from github/bump-haskell-tree-sitter-0.11
Bump haskell tree sitter 0.11
This commit is contained in:
commit
d732d8caf5
@ -108,7 +108,6 @@ expressionChoices =
|
||||
, heredoc
|
||||
, identifier
|
||||
, if'
|
||||
, keyword
|
||||
, lambda
|
||||
, literal
|
||||
, method
|
||||
@ -186,13 +185,6 @@ heredoc :: Assignment
|
||||
heredoc = makeTerm <$> symbol HeredocBeginning <*> (Literal.TextElement <$> source)
|
||||
<|> makeTerm <$> symbol HeredocEnd <*> (Literal.TextElement <$> source)
|
||||
|
||||
keyword :: Assignment
|
||||
keyword =
|
||||
mk KeywordFILE
|
||||
<|> mk KeywordLINE
|
||||
<|> mk KeywordENCODING
|
||||
where mk s = makeTerm <$> symbol s <*> (Syntax.Identifier <$> (name <$> source))
|
||||
|
||||
beginBlock :: Assignment
|
||||
beginBlock = makeTerm <$> symbol BeginBlock <*> children (Statement.ScopeEntry <$> many expression)
|
||||
|
||||
|
2
vendor/haskell-tree-sitter
vendored
2
vendor/haskell-tree-sitter
vendored
@ -1 +1 @@
|
||||
Subproject commit 19fd8594796a26b26c0545897fd46f547f316be8
|
||||
Subproject commit 8c59597af18d6db53f4059367883eee391ecfb0b
|
Loading…
Reference in New Issue
Block a user