diff options
author | Dave Davenport <qball@gmpclient.org> | 2018-04-28 15:30:01 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2018-04-28 15:30:01 +0200 |
commit | ef6ace4333b92c9da4937265c0df71d43d6500cd (patch) | |
tree | 011de4892326a7d40faab6ab9e5a190fb85a6d7c /lexer/theme-lexer.l | |
parent | 02baaf4df4410858a526516525e75b490c22ac40 (diff) |
[Lexer] Allow quoted utf8 string in list type.
Diffstat (limited to 'lexer/theme-lexer.l')
-rw-r--r-- | lexer/theme-lexer.l | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lexer/theme-lexer.l b/lexer/theme-lexer.l index de53f546..da7c184f 100644 --- a/lexer/theme-lexer.l +++ b/lexer/theme-lexer.l @@ -585,6 +585,11 @@ if ( queue == NULL ){ yylval->sval = g_strdup(yytext); return T_ELEMENT; } +<PROPERTIES_LIST>{STRING} { + yytext[yyleng-1] = '\0'; + yylval->sval = g_strdup(yytext+1); + return T_ELEMENT; +} <PROPERTIES,PROPERTIES_LIST>. { return T_ERROR_PROPERTY; |