mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-28 08:05:56 -05:00
[smartpl] Minor lexer simplification
This commit is contained in:
parent
4fee544a5d
commit
d6a9ef4081
@ -100,8 +100,7 @@ data_kind { yylval->str = strdup(yytext); return SMARTPL_T_ENUMTAG_DATAKIND
|
||||
media_kind { yylval->str = strdup(yytext); return SMARTPL_T_ENUMTAG_MEDIAKIND; }
|
||||
scan_kind { yylval->str = strdup(yytext); return SMARTPL_T_ENUMTAG_SCANKIND; }
|
||||
|
||||
file { return SMARTPL_T_FILE; }
|
||||
files { return SMARTPL_T_FILE; }
|
||||
files? { return SMARTPL_T_FILE; }
|
||||
url { return SMARTPL_T_URL; }
|
||||
spotify { return SMARTPL_T_SPOTIFY; }
|
||||
pipe { return SMARTPL_T_PIPE; }
|
||||
|
Loading…
Reference in New Issue
Block a user