[gnome-builder] clang: use c:preprocessor for macros



commit 9d5574b29cbbb864a3a61f82b3e417a3ed6da6f4
Author: Christian Hergert <chergert redhat com>
Date:   Tue Dec 28 22:57:21 2021 -0800

    clang: use c:preprocessor for macros
    
    We don't really need to create something new that wont map to anything
    in particular, so just use preprocessor so it matches the define.

 src/plugins/clang/ide-clang.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/clang/ide-clang.c b/src/plugins/clang/ide-clang.c
index 26dfc457d..5477c1343 100644
--- a/src/plugins/clang/ide-clang.c
+++ b/src/plugins/clang/ide-clang.c
@@ -30,7 +30,7 @@
 #define IDE_CLANG_HIGHLIGHTER_TYPE          "c:type"
 #define IDE_CLANG_HIGHLIGHTER_FUNCTION_NAME "def:function"
 #define IDE_CLANG_HIGHLIGHTER_ENUM_NAME     "def:constant"
-#define IDE_CLANG_HIGHLIGHTER_MACRO_NAME    "c:macro-name"
+#define IDE_CLANG_HIGHLIGHTER_MACRO_NAME    "c:preprocessor"
 
 #define PRIORITY_DIAGNOSE     (-200)
 #define PRIORITY_COMPLETE     (-100)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]