1
mirror of https://github.com/mpv-player/mpv synced 2024-10-18 10:25:02 +02:00

allow empty assignments, necessary for some weird servers...

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13204 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2004-08-30 20:17:31 +00:00
parent 8a7b7cdb73
commit 5dda0ad913

View File

@ -550,6 +550,13 @@ static void asmrp_assignment (asmrp_t *p) {
printf ("assignment\n");
#endif
if (p->sym == ASMRP_SYM_COMMA || p->sym == ASMRP_SYM_SEMICOLON) {
#ifdef LOG
printf ("empty assignment\n");
#endif
return;
}
if (p->sym != ASMRP_SYM_ID) {
printf ("error: identifier expected\n");
abort ();