[svn:parrot] r36725 - trunk/include/parrot

rurban at svn.parrot.org rurban at svn.parrot.org
Sat Feb 14 10:14:34 UTC 2009


Author: rurban
Date: Sat Feb 14 10:14:34 2009
New Revision: 36725
URL: https://trac.parrot.org/parrot/changeset/36725

Log:
revert r36716. we need this trick here.

Modified:
   trunk/include/parrot/packfile.h

Modified: trunk/include/parrot/packfile.h
==============================================================================
--- trunk/include/parrot/packfile.h	Sat Feb 14 09:56:13 2009	(r36724)
+++ trunk/include/parrot/packfile.h	Sat Feb 14 10:14:34 2009	(r36725)
@@ -41,9 +41,10 @@
 #define TRACE_PACKFILE 0
 
 #if TRACE_PACKFILE
-#  define TRACE_PRINTF(args)       if (pf->options) Parrot_trace_eprintf (args)
+/* Here we pass multipe args to a macro so the args may not be bracketed here! */
+#  define TRACE_PRINTF(args)       if (pf->options) Parrot_trace_eprintf args
 #  if TRACE_PACKFILE == 2
-#    define TRACE_PRINTF_VAL(args) if (pf->options & 2) Parrot_trace_eprintf (args)
+#    define TRACE_PRINTF_VAL(args) if (pf->options & 2) Parrot_trace_eprintf args
 #  else
 #    define TRACE_PRINTF_VAL(args)
 #  endif


More information about the parrot-commits mailing list