1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

[Lexer] Allow quoted utf8 string in list type.

This commit is contained in:
Dave Davenport 2018-04-28 15:30:01 +02:00
parent 02baaf4df4
commit ef6ace4333

View file

@ -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;