From: David S. <dsc...@us...> - 2003-05-13 05:47:17
|
CVS Root: /cvsroot/gstreamer Module: gstreamer Changes by: dschleef Date: Mon May 12 2003 22:47:16 PDT Log message: Fix bug in PRINT() macro Modified files: gst/parse : parse.l Links: http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/parse/parse.l.diff?r1=1.16&r2=1.17 ====Begin Diffs==== Index: parse.l =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/gst/parse/parse.l,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- parse.l 14 Apr 2003 18:33:58 -0000 1.16 +++ parse.l 13 May 2003 05:47:04 -0000 1.17 @@ -11,18 +11,12 @@ #endif #ifdef G_HAVE_ISO_VARARGS -# ifdef GST_DEBUG_ENABLED -# define PRINT(...) GST_DEBUG (GST_CAT_PIPELINE, "flex: "__VA_ARGS__) -# endif +#define PRINT(...) GST_DEBUG (GST_CAT_PIPELINE, "flex: "__VA_ARGS__) #elif defined(G_HAVE_GNUC_VARARGS) -# ifdef GST_DEBUG_ENABLED -# define PRINT(...) GST_DEBUG (GST_CAT_PIPELINE, "flex: "##args) -# endif +#define PRINT(args...) GST_DEBUG (GST_CAT_PIPELINE, "flex: "##args) #else -# ifdef GST_DEBUG_ENABLED -# define PRINT(a...) GST_DEBUG (GST_CAT_PIPELINE, "flex: "##a) -# endif -#endif /* G_HAVE_ISO_VARARGS */ +#define PRINT(args...) +#endif #define YY_DECL int _gst_parse_yylex (YYSTYPE *lvalp) %} |