summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2021-09-19 15:24:08 +0200
committerStephan Seitz <stephan.seitz@fau.de>2021-09-19 20:02:28 +0200
commit18dc243188885e11d509fcfe359e58dac5604295 (patch)
treebb57b6c165ba6488f34da705d0420c34664912e9
parent3aa122edfd795d1bba1fc3c18c99460c43970c85 (diff)
highlights(c): add Mircosoft attributes
-rw-r--r--queries/c/highlights.scm14
1 files changed, 13 insertions, 1 deletions
diff --git a/queries/c/highlights.scm b/queries/c/highlights.scm
index eda46bb5..3b33f303 100644
--- a/queries/c/highlights.scm
+++ b/queries/c/highlights.scm
@@ -170,5 +170,17 @@
(preproc_params
(identifier)) @parameter
-"__attribute__" @attribute
+[
+ "__attribute__"
+ "__cdecl"
+ "__clrcall"
+ "__stdcall"
+ "__fastcall"
+ "__thiscall"
+ "__vectorcall"
+ "_unaligned"
+ "__unaligned"
+ "__declspec"
+] @attribute
+
(ERROR) @error