From 97a84a4765f1a80cb26dec5e1da8db39c97ca456 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sun, 27 Nov 2016 23:38:47 +0000 Subject: [PATCH] c-family.kak: rename gcc_macros to builtin_macros --- rc/core/c-family.kak | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rc/core/c-family.kak b/rc/core/c-family.kak index 7de38658..219c15df 100644 --- a/rc/core/c-family.kak +++ b/rc/core/c-family.kak @@ -205,11 +205,11 @@ addhl -group /cpp/code regex %{\b-?(0x[0-9a-fA-F]+|\d+)[fdiu]?|'((\\.)?|[^'\\])' # c and c++ compiler macros %sh{ - gcc_macros="__cplusplus|__STDC_HOSTED__|__FILE__|__LINE__|__DATE__|__TIME__|__STDCPP_DEFAULT_NEW_ALIGNMENT__" + builtin_macros="__cplusplus|__STDC_HOSTED__|__FILE__|__LINE__|__DATE__|__TIME__|__STDCPP_DEFAULT_NEW_ALIGNMENT__" printf %s " - addhl -group /c/code regex \b(${gcc_macros})\b 0:builtin - addhl -group /cpp/code regex \b(${gcc_macros})\b 0:builtin + addhl -group /c/code regex \b(${builtin_macros})\b 0:builtin + addhl -group /cpp/code regex \b(${builtin_macros})\b 0:builtin " }