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
/
casl2.h
diff --git
a/include/casl2.h
b/include/casl2.h
index
7cd937c
..
23607fd
100644
(file)
--- a/
include/casl2.h
+++ b/
include/casl2.h
@@
-78,6
+78,8
@@
typedef enum {
NONE = 0,
} CMDTYPE;
+extern int cmdcodesize;
+
/* 命令コードの配列 */
typedef struct {
char *cmd;
@@
-91,6
+93,9
@@
typedef struct _CMDCODETAB {
CMDCODEARRAY *cca;
} CMDCODETAB;
+extern CMDCODETAB **cmdtype_code;
+extern CMDCODETAB **code_type;
+
/* 命令と命令タイプがキーのハッシュ表を作成する */
bool create_cmdtype_code();