feat(c3)!: update parser and queries

Breaking change: add `expression` supertype
This commit is contained in:
Christian Clason 2026-05-27 18:33:52 +02:00 committed by Christian Clason
parent 0011ad541b
commit afa0cb8669
2 changed files with 5 additions and 5 deletions

View file

@ -166,7 +166,7 @@ return {
}, },
c3 = { c3 = {
install_info = { install_info = {
revision = '9b4eebce4e8b367acb9d5267f04358d5888b3829', revision = '1c6a95234c62130763ed1c479f958b74fdbfdb2a',
url = 'https://github.com/c3lang/tree-sitter-c3', url = 'https://github.com/c3lang/tree-sitter-c3',
}, },
maintainers = { '@cbuttner' }, maintainers = { '@cbuttner' },

View file

@ -23,15 +23,15 @@
(expr_stmt (expr_stmt
";" @indent.end) @indent.begin ";" @indent.end) @indent.begin
(declaration (declaration_stmt
";" @indent.end) @indent.begin
(const_declaration
";" @indent.end) @indent.begin ";" @indent.end) @indent.begin
(return_stmt (return_stmt
";" @indent.end) @indent.begin ";" @indent.end) @indent.begin
(global_declaration
";" @indent.end) @indent.begin
(faultdef_declaration (faultdef_declaration
";" @indent.end) @indent.begin ";" @indent.end) @indent.begin