1
1
mirror of https://github.com/github/semantic.git synced 2024-12-27 00:44:57 +03:00

Reuse the abstract parsers for Python.

This commit is contained in:
Rob Rix 2019-10-23 12:02:07 -04:00
parent 4c282911a1
commit 0d17b9691f
No known key found for this signature in database
GPG Key ID: F188A01508EA1CF7

View File

@ -161,8 +161,8 @@ pythonParserPrecise' = (Python, SomeParser pythonParserPrecise)
pythonParser' :: (c PythonALaCarte.Term, c PythonPrecise.Term) => PerLanguageModes -> (Language, SomeParser c Loc)
pythonParser' modes = case pythonMode modes of
ALaCarte -> (Python, SomeParser pythonParser)
Precise -> (Python, SomeParser pythonParserPrecise)
ALaCarte -> pythonParserALaCarte'
Precise -> pythonParserPrecise'
rubyParser' :: c Ruby.Term => (Language, SomeParser c Loc)
rubyParser' = (Ruby, SomeParser rubyParser)