# HG changeset patch # User Peter Kovacs # Date 2008-07-14 19:06:29 # Node ID 0d651164763931ff096f177fa7ecde23e28e9862 # Parent b67149f0e6757cc1132d30f6ca7d4050e210b66c Bug fix in assert.h (ticket #125) diff --git a/lemon/assert.h b/lemon/assert.h --- a/lemon/assert.h +++ b/lemon/assert.h @@ -237,7 +237,7 @@ static_cast(0))) # if LEMON_ENABLE_DEBUG -# define LEMON_DEBUG(exp, msg) +# define LEMON_DEBUG(exp, msg) \ (static_cast (!!(exp) ? 0 : ( \ LEMON_ASSERT_HANDLER(__FILE__, __LINE__, \ LEMON_FUNCTION_NAME, \