mirror of
https://github.com/github/semantic.git
synced 2024-12-21 13:51:44 +03:00
Add precise tagging support for Java.
This commit is contained in:
parent
c81f9660f4
commit
9585226bb7
@ -70,6 +70,9 @@ parseSymbols blobs = do
|
||||
| Precise <- pythonMode modes
|
||||
, Python <- blobLanguage'
|
||||
= catching $ renderPreciseToSymbols <$> parse precisePythonParser blob
|
||||
| Precise <- javaMode modes
|
||||
, Java <- blobLanguage'
|
||||
= catching $ renderPreciseToSymbols <$> parse precisePythonParser blob
|
||||
| otherwise = catching $ withSomeTerm renderToSymbols <$> doParse blob
|
||||
where
|
||||
catching m = m `catchError` (\(SomeException e) -> pure $ errorFile (show e))
|
||||
|
Loading…
Reference in New Issue
Block a user