projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
テストで作成されるcometファイルを除外リストに追加
[YACASL2.git]
/
include
/
cerr.h
diff --git
a/include/cerr.h
b/include/cerr.h
index
db9adbe
..
5ff200c
100644
(file)
--- a/
include/cerr.h
+++ b/
include/cerr.h
@@
-7,9
+7,9
@@
/**
* エラーの構造体
*/
/**
* エラーの構造体
*/
-typedef struct {
- int num; /*
エラー番号 */
- char *msg; /*
エラーメッセージ */
+typedef struct
_CERR
{
+ int num; /*
*<
エラー番号 */
+ char *msg; /*
*<
エラーメッセージ */
} CERR;
/**
} CERR;
/**
@@
-21,8
+21,8
@@
extern CERR *cerr;
* エラーリスト型
*/
typedef struct _CERRLIST {
* エラーリスト型
*/
typedef struct _CERRLIST {
- struct _CERRLIST *next;
- CERR *cerr;
+ struct _CERRLIST *next;
/**<リスト次項目へのポインタ */
+ CERR *cerr;
/**<エラーの構造体 */
} CERRLIST;
/**
} CERRLIST;
/**
@@
-43,7
+43,12
@@
void cerr_init();
/**
* エラーリストを作成・追加する
*/
/**
* エラーリストを作成・追加する
*/
-bool addcerrlist(int cerrc, CERR cerrv[]);
+void addcerrlist(int cerrc, CERR cerrv[]);
+
+/**
+ * エラーリストを表示する
+ */
+void printcerrlist();
/**
* 現在のエラーを設定する
/**
* 現在のエラーを設定する