mirror of
https://github.com/github/semantic.git
synced 2024-11-28 10:15:55 +03:00
Merge pull request #1350 from github/add-dependent-file-to-json
Add addDependentFileRelative call to json grammar
This commit is contained in:
commit
dd4726dbb0
@ -1,9 +0,0 @@
|
||||
resolver: nightly-2017-09-10
|
||||
packages:
|
||||
- c-storable-deriving-0.1.3
|
||||
- cmark-gfm-0.1.3
|
||||
- Cabal-1.24.2.0
|
||||
- extra-1.5.3
|
||||
- process-1.4.3.0
|
||||
- optparse-applicative-0.13.2.0
|
||||
- netrc-0.2.0.0
|
@ -5,6 +5,9 @@ import Language.Haskell.TH
|
||||
import TreeSitter.Language
|
||||
import TreeSitter.JSON
|
||||
|
||||
-- Regenerate template haskell code when these files change:
|
||||
addDependentFileRelative "../../../vendor/haskell-tree-sitter/languages/json/vendor/tree-sitter-json/src/parser.c"
|
||||
|
||||
-- | Statically-known rules corresponding to symbols in the grammar.
|
||||
-- v2 - bump this to regenerate
|
||||
mkSymbolDatatype (mkName "Grammar") tree_sitter_json
|
||||
|
Loading…
Reference in New Issue
Block a user