diff --git a/lib/check.h b/lib/check.h index 8ab12488b..4de3a16b4 100644 --- a/lib/check.h +++ b/lib/check.h @@ -38,7 +38,7 @@ * Use CHECK_WRONG_DATA in checkers when you check for wrong data. */ #if defined(DACA2) || defined(UNSTABLE) -#define CHECK_WRONG_DATA(COND, TOK) ({ if(!(COND)) reportError(nullptr,Severity::error,"DacaWrongData","Wrong data detected, " #COND); (COND);}) +#define CHECK_WRONG_DATA(COND, TOK) ({ if(!(COND)) reportError(TOK,Severity::debug,"DacaWrongData","Wrong data detected, " #COND); (COND);}) #else #define CHECK_WRONG_DATA(COND, TOK) (COND) #endif