mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
validate: Enhance debug message on invalid expression function call
This commit is contained in:
parent
987d125c7e
commit
ee5e0b396e
1 changed files with 5 additions and 1 deletions
|
@ -380,7 +380,11 @@ _read_builtin (MathParser * parser)
|
||||||
v1 = _read_argument (parser);
|
v1 = _read_argument (parser);
|
||||||
v0 = MAX (v0, v1);
|
v0 = MAX (v0, v1);
|
||||||
} else {
|
} else {
|
||||||
_error (parser, "Tried to call unknown built-in function!");
|
gchar *tmp =
|
||||||
|
g_strdup_printf ("Tried to call unknown built-in function: %s",
|
||||||
|
token);
|
||||||
|
_error (parser, tmp);
|
||||||
|
g_free (tmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_next (parser) != ')')
|
if (_next (parser) != ')')
|
||||||
|
|
Loading…
Reference in a new issue