forked from enlightenment/efl
Evas filters: Allow empty commands
If an instruction line contains only ';', skip it. This is a convenience for Textblock and C++ style comments.
This commit is contained in:
parent
0450e027e7
commit
a0634dc04e
|
@ -1057,6 +1057,9 @@ evas_filter_program_parse(Evas_Filter_Program *pgm, const char *str)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Empty command
|
||||||
|
if (next == token + 1) continue;
|
||||||
|
|
||||||
// Parse "instrname(options)"
|
// Parse "instrname(options)"
|
||||||
options = token;
|
options = token;
|
||||||
instrname = strsep(&options, "(");
|
instrname = strsep(&options, "(");
|
||||||
|
|
Loading…
Reference in New Issue