feat(t32): update queries from upstream (#6440)

Adds support for new node type `elif_block`.
This commit is contained in:
Christoph Sax 2024-04-14 12:58:21 +02:00 committed by GitHub
parent 2c6ab9a09c
commit f22f024e78
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 9 additions and 2 deletions

View file

@ -687,7 +687,7 @@
"revision": "1af543a96d060b1f808982037bfc54cc02218edd" "revision": "1af543a96d060b1f808982037bfc54cc02218edd"
}, },
"t32": { "t32": {
"revision": "8487a14874f3e3138877655f303322d9e7222cec" "revision": "6182836f4128725f1e74ce986840d7317021a015"
}, },
"tablegen": { "tablegen": {
"revision": "300f6a490e71f895e644ed2deec6920860a2e107" "revision": "300f6a490e71f895e644ed2deec6920860a2e107"

View file

@ -208,6 +208,9 @@
(if_block (if_block
command: (identifier) @keyword.conditional) command: (identifier) @keyword.conditional)
(elif_block
command: (identifier) @keyword.conditional)
(else_block (else_block
command: (identifier) @keyword.conditional) command: (identifier) @keyword.conditional)

View file

@ -6,6 +6,8 @@
(if_block (if_block
(block)) @indent.dedent (block)) @indent.dedent
(elif_block) @indent.branch
(else_block) @indent.branch (else_block) @indent.branch
(else_block (else_block

View file

@ -41,7 +41,9 @@ ELSE
IF !&pass IF !&pass
GOTO fail GOTO fail
; ^ @label ; ^ @label
ELSE ELSE IF &debug
; ^ @keyword.conditional
; ^ @keyword.conditional
( (
GOSUB start_debug GOSUB start_debug
; ^ @function.call ; ^ @function.call