projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
エラーをリストで格納し、分散して追加するように修正
[YACASL2.git]
/
include
/
word.h
diff --git
a/include/word.h
b/include/word.h
index
24dea80
..
c1efb67
100644
(file)
--- a/
include/word.h
+++ b/
include/word.h
@@
-1,12
+1,18
@@
#ifndef YACASL2_WORD_H_INCLUDED
#define YACASL2_WORD_H_INCLUDED
#ifndef YACASL2_WORD_H_INCLUDED
#define YACASL2_WORD_H_INCLUDED
+#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
+#include <stdbool.h>
+
#include "cerr.h"
#include "cerr.h"
+/* wordのエラー定義 */
+bool addcerrlist_word();
+
/* WORD - 16ビットデータ型 */
typedef unsigned short WORD;
/* WORD - 16ビットデータ型 */
typedef unsigned short WORD;
@@
-25,4
+31,7
@@
char *word2n(WORD word);
/* WORD値を2進数の文字列に変換 */
char *word2bit(const WORD word);
/* WORD値を2進数の文字列に変換 */
char *word2bit(const WORD word);
+/* WORD値を解析して表示 */
+void print_dumpword(WORD word, bool logicalmode);
+
#endif
#endif