diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-10-30 17:06:11 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-10-30 17:07:13 +0100 |
commit | ad877bb2e6a8d80c1e23dc4094ef122933268c49 (patch) | |
tree | 1dc6b1d8ae54f49304252ac012e885098ae0ec87 /lexer/theme-lexer.l | |
parent | 18c25e3ffeadd5814f686ca10a7fec4d131b4e24 (diff) |
[ThemeParser] Give a more detailed error when only 7 elements are specified in argb syntax.
Diffstat (limited to 'lexer/theme-lexer.l')
-rw-r--r-- | lexer/theme-lexer.l | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lexer/theme-lexer.l b/lexer/theme-lexer.l index b906b59c..e7430355 100644 --- a/lexer/theme-lexer.l +++ b/lexer/theme-lexer.l @@ -475,6 +475,9 @@ if ( queue == NULL ){ yylval->colorval.blue = rofi_theme_parse_convert_hex(yytext[11],yytext[12]); return T_COLOR; } +<PROPERTIES>argb:{HEX}{7} { + return T_ERROR_ARGB_SPEC; +} /* Color schemes */ <PROPERTIES>{RGBA} { return T_COL_RGBA; } <PROPERTIES>{HSL} { return T_COL_HSL; } |