mirror of
https://github.com/github/semantic.git
synced 2024-12-30 10:27:45 +03:00
Auto TH for Python Grammar
This commit is contained in:
parent
29834cd3de
commit
0a803b64a2
@ -5,6 +5,8 @@ import Language.Haskell.TH
|
||||
import TreeSitter.Language
|
||||
import TreeSitter.Python
|
||||
|
||||
-- Regenerate template haskell code when these files change:
|
||||
addDependentFileRelative "../../../vendor/haskell-tree-sitter/languages/python/vendor/tree-sitter-python/src/parser.c"
|
||||
|
||||
-- | Statically-known rules corresponding to symbols in the grammar.
|
||||
-- v4 - bump this to regenerate
|
||||
mkSymbolDatatype (mkName "Grammar") tree_sitter_python
|
||||
|
Loading…
Reference in New Issue
Block a user