[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
1 changed files with 5 additions and 0 deletions

View File

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