From c284079d817acc3ca8e0ff47b24234d31765de5e Mon Sep 17 00:00:00 2001 From: HEMA Date: Mon, 1 Apr 2024 00:03:26 +0800 Subject: [PATCH] assert assert_id bug fix --- elab/common/elab_assert.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elab/common/elab_assert.h b/elab/common/elab_assert.h index 2e3ee0a..3ee5da3 100644 --- a/elab/common/elab_assert.h +++ b/elab/common/elab_assert.h @@ -39,7 +39,7 @@ void elab_assert_func(void); #define assert_id(test_, id_) do \ { \ if (!(test_)) \ - _assert(#test_, id_, NULL, __LINE__); \ + _assert(NULL, id_, TAG, __LINE__); \ } while (0) #define elab_assert_id assert_id -- Gitee