mirror of
https://github.com/github/semantic.git
synced 2025-01-02 12:23:08 +03:00
Bump haskell-tree-sitter.
This commit is contained in:
parent
7438874a59
commit
e1c914d90a
@ -75,7 +75,7 @@ nodeRange Node{..} = Range (fromIntegral nodeStartByte) (fromIntegral nodeEndByt
|
||||
|
||||
nodeSpan :: Node -> SourceSpan
|
||||
nodeSpan Node{..} = nodeStartPoint `seq` nodeEndPoint `seq` SourceSpan (pointPos nodeStartPoint) (pointPos nodeEndPoint)
|
||||
where pointPos Point{..} = pointRow `seq` pointColumn `seq` SourcePos (1 + fromIntegral pointRow) (1 + fromIntegral pointColumn)
|
||||
where pointPos TSPoint{..} = pointRow `seq` pointColumn `seq` SourcePos (1 + fromIntegral pointRow) (1 + fromIntegral pointColumn)
|
||||
|
||||
assignTerm :: Language -> Source -> Record '[Range, Category, SourceSpan] -> [ SyntaxTerm Text '[ Range, Category, SourceSpan ] ] -> IO [ SyntaxTerm Text '[ Range, Category, SourceSpan ] ] -> IO (SyntaxTerm Text '[ Range, Category, SourceSpan ])
|
||||
assignTerm language source annotation children allChildren =
|
||||
|
2
vendor/haskell-tree-sitter
vendored
2
vendor/haskell-tree-sitter
vendored
@ -1 +1 @@
|
||||
Subproject commit f66e366dd7db349bd980428918072ce36bd70de6
|
||||
Subproject commit 7012b85f0df0c2fb69d3b882ad986a373fcce7c6
|
Loading…
Reference in New Issue
Block a user