diff --git a/gst/parse/grammar.y b/gst/parse/grammar.y index a6703bf07e..00d0e9dc85 100644 --- a/gst/parse/grammar.y +++ b/gst/parse/grammar.y @@ -113,7 +113,7 @@ typedef struct { gulong signal_id; } DelayedSet; -/*** define SET_ERROR and ERROR macros/functions */ +/*** define SET_ERROR macro/function */ #ifdef G_HAVE_ISO_VARARGS @@ -125,9 +125,6 @@ G_STMT_START { \ } \ } G_STMT_END -# define ERROR(type, ...) \ - SET_ERROR (graph->error, (type), __VA_ARGS__ ) - #elif defined(G_HAVE_GNUC_VARARGS) # define SET_ERROR(error, type, args...) \ @@ -138,9 +135,6 @@ G_STMT_START { \ } \ } G_STMT_END -# define ERROR(type, args...) \ - SET_ERROR (graph->error,(type) , args ) - #else static inline void