feat(enforce)!: update parser and queries

Breaking change: rename directive nodes `(foo)` to `(preproc_foo)`.
This commit is contained in:
Christian Clason 2026-04-14 18:57:47 +02:00 committed by Christian Clason
parent 3e1f54c1ce
commit ef7a00503b
2 changed files with 7 additions and 7 deletions

View file

@ -511,7 +511,7 @@ return {
},
enforce = {
install_info = {
revision = 'eb2796871d966264cdb041b797416ef1757c8b4f',
revision = 'cb42835385ac6d4fc64fd7b3f962591b928ccc7d',
url = 'https://github.com/simonvic/tree-sitter-enforce',
},
maintainers = { '@simonvic' },

View file

@ -28,12 +28,12 @@
; Preprocessor directives
[
(include)
(define)
(ifdef)
(ifndef)
(else)
(endif)
(preproc_include)
(preproc_define)
(preproc_ifdef)
(preproc_ifndef)
(preproc_else)
(preproc_endif)
] @keyword.directive
(preproc_const) @constant.macro