From 5d35141256955f48f0cdf0ad51c0235e6a083df5 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 23 Apr 2003 20:06:54 +0000 Subject: [PATCH] fix 2 warnings Original commit message from CVS: fix 2 warnings --- gst/parse/grammar.y | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gst/parse/grammar.y b/gst/parse/grammar.y index 7b6b121..2eee7ca 100644 --- a/gst/parse/grammar.y +++ b/gst/parse/grammar.y @@ -547,7 +547,7 @@ element: IDENTIFIER { $$ = gst_element_factory_make ($1, NULL); assignments: /* NOP */ { $$ = NULL; } | assignments ASSIGNMENT { $$ = g_slist_prepend ($1, $2); } - + ; bin: '{' assignments chain '}' { GST_BIN_MAKE ($$, "thread", $3, $2); } | '(' assignments chain ')' { GST_BIN_MAKE ($$, "bin", $3, $2); } | BINREF assignments chain ')' { GST_BIN_MAKE ($$, $1, $3, $2); @@ -568,8 +568,8 @@ bin: '{' assignments chain '}' { GST_BIN_MAKE ($$, "thread", $3, $2) pads: PADREF { $$ = g_slist_prepend (NULL, $1); } | PADREF padlist { $$ = $2; $$ = g_slist_prepend ($$, $1); - } - + } + ; padlist: ',' IDENTIFIER { $$ = g_slist_prepend (NULL, $2); } | ',' IDENTIFIER padlist { $$ = g_slist_prepend ($3, $2); } ; -- 2.7.4