diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-03-21 19:46:56 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-03-21 19:46:56 +0100 |
commit | 606f4e89c57e1b736c1a72ffe6fe75251f5916f4 (patch) | |
tree | fe39a7c4f03dbd3aa6723dd30df947e86b038deb /lexer | |
parent | 70e3b189df7e3ba8fafdf49df5e7bebe8fda166d (diff) |
Add teardown debug message
Diffstat (limited to 'lexer')
-rw-r--r-- | lexer/theme-lexer.l | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lexer/theme-lexer.l b/lexer/theme-lexer.l index fb005919..b2c2914a 100644 --- a/lexer/theme-lexer.l +++ b/lexer/theme-lexer.l @@ -358,15 +358,6 @@ if ( queue == NULL ){ yylval->colorval.blue = val.b/255.0; return T_COLOR; } -<PROPERTIES>argb:{HEX}{8} { - union { unsigned int val; struct { unsigned char b,g,r,a;};} val; - val.val = (unsigned int)strtoull ( &yytext[1], NULL, 16); - yylval->colorval.alpha = val.a/255.0; - yylval->colorval.red = val.r/255.0; - yylval->colorval.green = val.g/255.0; - yylval->colorval.blue = val.b/255.0; - return T_COLOR; -} <PROPERTIES>#{HEX}{6} { union { unsigned int val; struct { unsigned char b,g,r,a;};} val; val.val = (unsigned int)g_ascii_strtoull ( &yytext[1], NULL, 16); |