gst/parse/parse.l: fix for G_DISABLE_ASSERT

Original commit message from CVS:
* gst/parse/parse.l:
fix for G_DISABLE_ASSERT
This commit is contained in:
Benjamin Otte 2004-08-03 10:24:39 +00:00
parent 2bb8691df2
commit f8f2f5a58d
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-08-03 Benjamin Otte <otte@gnome.org>
* gst/parse/parse.l:
fix for G_DISABLE_ASSERT
2004-08-03 Wim Taymans <wim@fluendo.com> 2004-08-03 Wim Taymans <wim@fluendo.com>
* gst/gstbin.c: (gst_bin_get_type), * gst/gstbin.c: (gst_bin_get_type),

View file

@ -110,7 +110,8 @@ _link ("!"[[:space:]]*{_caps}([[:space:]]*(";"[[:space:]]*{_caps})*[[:space:]]*)
while (g_ascii_isspace (*c)) c++; while (g_ascii_isspace (*c)) c++;
c = lvalp->s = gst_parse_strdup (c); c = lvalp->s = gst_parse_strdup (c);
while (*c) c++; while (*c) c++;
g_assert (*--c == '!'); if (*--c != '!')
g_assert_not_reached ();
while (g_ascii_isspace (*--c)); while (g_ascii_isspace (*--c));
*++c = '\0'; *++c = '\0';
} else { } else {