From 2a5cb6f62159e345441046028ff70bc9e2906b28 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Thu, 7 Sep 2017 08:35:09 +0200 Subject: Alias 'color' property name to 'text-color' --- lexer/theme-lexer.l | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lexer/theme-lexer.l') diff --git a/lexer/theme-lexer.l b/lexer/theme-lexer.l index 1eb47aec..5ea7e753 100644 --- a/lexer/theme-lexer.l +++ b/lexer/theme-lexer.l @@ -395,6 +395,8 @@ if ( queue == NULL ){ \.|{WHITESPACE} { return T_NSEP; } ,{WHITESPACE}* { return T_SSEP; } + /* Alias color to text-color */ +
"color" { yylval->sval = g_strdup("text-color"); return T_PROP_NAME;}
{WORD} { yylval->sval = g_strdup(yytext); return T_PROP_NAME;} {WORD} { yylval->sval = g_strdup(yytext); return T_NAME_ELEMENT;} -- cgit v1.2.3