Commit 4567af7a authored by Pavel Kus's avatar Pavel Kus

assert macro not usable for PGI

In the current form, the assert macro is not usable, since it might
generate too long lines depending on the lenght of __FILE__ string.
This is a temporary fix to allow setting up tests on Minsky
parent 8928bf45
......@@ -40,7 +40,7 @@
#define stringify_(x) "x"
#define stringify(x) stringify_(x)
#define assert(x) call x_a(x, stringify(x), __FILE__, __LINE__)
#define assert(x) call x_a(x, stringify(x), "F", __LINE__)
#define assert_elpa_ok(error_code) call x_ao(error_code, stringify(error_code), __FILE__, __LINE__)
Markdown is supported
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