1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 08:54:07 +03:00

Merge branch 'master' into unmarshal-timeout

This commit is contained in:
Timothy Clem 2020-01-22 07:57:16 -08:00 committed by GitHub
commit 6ca1952ee2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,7 @@ runParser blob@Blob{..} parser = case parser of
>>= either (\e -> trace (displayException e) *> throwError (SomeException e)) pure
UnmarshalParser language ->
time "parse.tree_sitter_ast_parse" languageTag $ do
time "parse.tree_sitter_precise_ast_parse" languageTag $ do
config <- asks config
parseToPreciseAST (configTreeSitterParseTimeout config) (configTreeSitterUnmarshalTimeout config) language blob
>>= either (\e -> trace (displayException e) *> throwError (SomeException e)) pure