diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-06-07 20:41:43 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-06-07 20:41:43 +0200 |
commit | 47c75186562b11216d7f36dd5bbf1e00bb775aea (patch) | |
tree | 7e186d3563ffabfc5f353c488b469b43ceddc283 /lexer | |
parent | 9fe67c1822887d4ef0a00175513b5e4660b84283 (diff) |
Fix parsing old themes from rofi-themes repo.
Diffstat (limited to 'lexer')
-rw-r--r-- | lexer/theme-lexer.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexer/theme-lexer.l b/lexer/theme-lexer.l index 8e20ee89..3831d26e 100644 --- a/lexer/theme-lexer.l +++ b/lexer/theme-lexer.l @@ -448,7 +448,7 @@ if ( queue == NULL ){ yylval->colorval.blue = rofi_theme_parse_convert_hex(yytext[3],yytext[3]); return T_COLOR; } -<PROPERTIES>argb:{HEX}{8} { +<PROPERTIES>argb:{HEX}{7,8} { yylval->colorval.alpha = rofi_theme_parse_convert_hex(yytext[5],yytext[6]); yylval->colorval.red = rofi_theme_parse_convert_hex(yytext[7],yytext[8]); yylval->colorval.green = rofi_theme_parse_convert_hex(yytext[9],yytext[10]); |