mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-27 03:22:18 +00:00
wrap multiple statements in do {} while(!IsConstTrue(true)) (#5655)
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
f9724d1bde
commit
030fee36ab
@@ -13,7 +13,7 @@
|
|||||||
#define FLATBUFFERS_NO_FILE_TESTS
|
#define FLATBUFFERS_NO_FILE_TESTS
|
||||||
#else
|
#else
|
||||||
#define TEST_OUTPUT_LINE(...) \
|
#define TEST_OUTPUT_LINE(...) \
|
||||||
{ printf(__VA_ARGS__); printf("\n"); }
|
do { printf(__VA_ARGS__); printf("\n"); } while(!IsConstTrue(true))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define TEST_EQ(exp, val) TestEq(exp, val, "'" #exp "' != '" #val "'", __FILE__, __LINE__, "")
|
#define TEST_EQ(exp, val) TestEq(exp, val, "'" #exp "' != '" #val "'", __FILE__, __LINE__, "")
|
||||||
|
|||||||
Reference in New Issue
Block a user