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

mikehh at svn.parrot.org mikehh at svn.parrot.org
Wed Mar 10 05:03:53 UTC 2010


Author: mikehh
Date: Wed Mar 10 05:03:53 2010
New Revision: 44848
URL: https://trac.parrot.org/parrot/changeset/44848

Log:
fix codetest failure - unwrapped macro argument

Modified:
   trunk/include/parrot/exceptions.h

Modified: trunk/include/parrot/exceptions.h
==============================================================================
--- trunk/include/parrot/exceptions.h	Wed Mar 10 04:55:15 2010	(r44847)
+++ trunk/include/parrot/exceptions.h	Wed Mar 10 05:03:53 2010	(r44848)
@@ -1,5 +1,5 @@
 /* exceptions.h
- *  Copyright (C) 2001-2008, Parrot Foundation.
+ *  Copyright (C) 2001-2010, Parrot Foundation.
  *  SVN Info
  *     $Id$
  *  Overview:
@@ -278,7 +278,7 @@
 #else
 #  define PARROT_ASSERT(x) (x) ? ((void)0) : Parrot_confess(#x, __FILE__, __LINE__)
 #  define PARROT_ASSERT_ARG(x) ((x) ? (0) : (Parrot_confess(#x, __FILE__, __LINE__), 0))
-#  define PARROT_FAILURE(x) Parrot_confess(x, __FILE__, __LINE__)
+#  define PARROT_FAILURE(x) Parrot_confess((x), __FILE__, __LINE__)
 #  define PARROT_ASSERT_MSG(x, s) ((x) ? (0) : (Parrot_confess(s, __FILE__, __LINE__), 0))
 
 #  ifdef __GNUC__


More information about the parrot-commits mailing list