Commit 4ef755ef authored by Basile Desloges's avatar Basile Desloges
Browse files

[eacsl:runtime] Print expression when failing DASSERT

parent 671fdbfa
......@@ -73,7 +73,7 @@ static int dlog_fd = -1;
#endif
/*! \brief Debug-time assertion based on assert (see e_acsl_assert.h) */
#define DASSERT(_e) vassert(_e,"",NULL)
#define DASSERT(_e) vassert(_e,TOSTRING(_e),NULL)
/*! \brief Debug-time assertion based on vassert (see e_acsl_assert.h) */
#define DVASSERT(_expr, _fmt, ...) vassert(_expr, _fmt, __VA_ARGS__)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment