parse/grammar.y: remove unused ERROR define

This commit is contained in:
Tim-Philipp Müller 2009-11-19 12:59:28 +00:00
parent 3ee391fa17
commit c8c893c30e

View file

@ -113,7 +113,7 @@ typedef struct {
gulong signal_id; gulong signal_id;
} DelayedSet; } DelayedSet;
/*** define SET_ERROR and ERROR macros/functions */ /*** define SET_ERROR macro/function */
#ifdef G_HAVE_ISO_VARARGS #ifdef G_HAVE_ISO_VARARGS
@ -125,9 +125,6 @@ G_STMT_START { \
} \ } \
} G_STMT_END } G_STMT_END
# define ERROR(type, ...) \
SET_ERROR (graph->error, (type), __VA_ARGS__ )
#elif defined(G_HAVE_GNUC_VARARGS) #elif defined(G_HAVE_GNUC_VARARGS)
# define SET_ERROR(error, type, args...) \ # define SET_ERROR(error, type, args...) \
@ -138,9 +135,6 @@ G_STMT_START { \
} \ } \
} G_STMT_END } G_STMT_END
# define ERROR(type, args...) \
SET_ERROR (graph->error,(type) , args )
#else #else
static inline void static inline void