Fix bug in PRINT() macro

Original commit message from CVS:
Fix bug in PRINT() macro
This commit is contained in:
David Schleef 2003-05-13 05:47:04 +00:00
parent 34e5211a15
commit 376ec32dce
2 changed files with 5 additions and 11 deletions

2
common

@ -1 +1 @@
Subproject commit c5d7301d645fbee2881c30e86152cb3d2152e33b Subproject commit 5cca5ddc23e23658e8287f7c2fbc4aebddaf3e12

View file

@ -11,18 +11,12 @@
#endif #endif
#ifdef G_HAVE_ISO_VARARGS #ifdef G_HAVE_ISO_VARARGS
# ifdef GST_DEBUG_ENABLED #define PRINT(...) GST_DEBUG (GST_CAT_PIPELINE, "flex: "__VA_ARGS__)
# define PRINT(...) GST_DEBUG (GST_CAT_PIPELINE, "flex: "__VA_ARGS__)
# endif
#elif defined(G_HAVE_GNUC_VARARGS) #elif defined(G_HAVE_GNUC_VARARGS)
# ifdef GST_DEBUG_ENABLED #define PRINT(args...) GST_DEBUG (GST_CAT_PIPELINE, "flex: "##args)
# define PRINT(...) GST_DEBUG (GST_CAT_PIPELINE, "flex: "##args)
# endif
#else #else
# ifdef GST_DEBUG_ENABLED #define PRINT(args...)
# define PRINT(a...) GST_DEBUG (GST_CAT_PIPELINE, "flex: "##a) #endif
# endif
#endif /* G_HAVE_ISO_VARARGS */
#define YY_DECL int _gst_parse_yylex (YYSTYPE *lvalp) #define YY_DECL int _gst_parse_yylex (YYSTYPE *lvalp)
%} %}