From 18dc243188885e11d509fcfe359e58dac5604295 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Sun, 19 Sep 2021 15:24:08 +0200 Subject: highlights(c): add Mircosoft attributes --- queries/c/highlights.scm | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3