summaryrefslogtreecommitdiff
path: root/queries/c
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2020-06-14 15:12:38 +0200
committerStephan Seitz <stephan.seitz@fau.de>2020-06-15 11:51:28 +0200
commit8bc00cf02a5bc73541ba76ad8ea70fd928fffce2 (patch)
tree49db122ce1f1b5ce1a9b77724c96a085c4a60710 /queries/c
parenta5fc7b13ccfbc189deea031e692ba14b0e686279 (diff)
Change regexes in C/C++ highlights
Diffstat (limited to 'queries/c')
-rw-r--r--queries/c/highlights.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/c/highlights.scm b/queries/c/highlights.scm
index 568ebaff..0d718c22 100644
--- a/queries/c/highlights.scm
+++ b/queries/c/highlights.scm
@@ -97,7 +97,7 @@
(#match? @type "^[A-Z]"))
((identifier) @constant
- (#match? @constant "^[A-Z][A-Z\\d_]+$"))
+ (#match? @constant "^[A-Z][A-Z0-9_]+$"))
(comment) @comment