1
1
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:
Rick Winfrey 2018-04-02 10:28:57 -07:00 committed by GitHub
commit d732d8caf5
2 changed files with 1 additions and 9 deletions

View File

@ -108,7 +108,6 @@ expressionChoices =
, heredoc , heredoc
, identifier , identifier
, if' , if'
, keyword
, lambda , lambda
, literal , literal
, method , method
@ -186,13 +185,6 @@ heredoc :: Assignment
heredoc = makeTerm <$> symbol HeredocBeginning <*> (Literal.TextElement <$> source) heredoc = makeTerm <$> symbol HeredocBeginning <*> (Literal.TextElement <$> source)
<|> makeTerm <$> symbol HeredocEnd <*> (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 :: Assignment
beginBlock = makeTerm <$> symbol BeginBlock <*> children (Statement.ScopeEntry <$> many expression) beginBlock = makeTerm <$> symbol BeginBlock <*> children (Statement.ScopeEntry <$> many expression)

@ -1 +1 @@
Subproject commit 19fd8594796a26b26c0545897fd46f547f316be8 Subproject commit 8c59597af18d6db53f4059367883eee391ecfb0b