summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--queries/c/locals.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/queries/c/locals.scm b/queries/c/locals.scm
index b08d706e..f7a4b84d 100644
--- a/queries/c/locals.scm
+++ b/queries/c/locals.scm
@@ -36,3 +36,4 @@
(while_statement) @scope
(translation_unit) @scope
(function_definition) @scope
+(compound_statement) @scope ; a block in curly braces