mirror of https://github.com/davatorium/rofi.git
[Lexer] Allow quoted utf8 string in list type.
This commit is contained in:
parent
02baaf4df4
commit
ef6ace4333
|
@ -585,6 +585,11 @@ if ( queue == NULL ){
|
||||||
yylval->sval = g_strdup(yytext);
|
yylval->sval = g_strdup(yytext);
|
||||||
return T_ELEMENT;
|
return T_ELEMENT;
|
||||||
}
|
}
|
||||||
|
<PROPERTIES_LIST>{STRING} {
|
||||||
|
yytext[yyleng-1] = '\0';
|
||||||
|
yylval->sval = g_strdup(yytext+1);
|
||||||
|
return T_ELEMENT;
|
||||||
|
}
|
||||||
|
|
||||||
<PROPERTIES,PROPERTIES_LIST>. {
|
<PROPERTIES,PROPERTIES_LIST>. {
|
||||||
return T_ERROR_PROPERTY;
|
return T_ERROR_PROPERTY;
|
||||||
|
|
Loading…
Reference in New Issue