#include "cerr.h"
/* エラー番号とエラーメッセージ */
-CERRARRAY cerr[] = {
+CERR cerr_utest[] = {
{ 101, "label already defined" },
{ 102, "label table is full" },
{ 103, "label not found" },
{ 205, "Stack Pointer (SP) - cannot allocate stack buffer" },
{ 206, "Address - out of COMET II memory" },
{ 207, "Stack Pointer (SP) - out of COMET II memory" },
- { 0, NULL },
};
+
+void addcerr_utest()
+{
+ addcerrlist((sizeof(cerr_utest)/sizeof(cerr_utest[0])), cerr_utest);
+}