projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ユニットテストの修正
[YACASL2.git]
/
test
/
unit
/
print_cmdtype_code_hash
/
print_cmdtype_code.c
diff --git
a/test/unit/print_cmdtype_code_hash/print_cmdtype_code.c
b/test/unit/print_cmdtype_code_hash/print_cmdtype_code.c
index
d075ae4
..
ba26a74
100644
(file)
--- a/
test/unit/print_cmdtype_code_hash/print_cmdtype_code.c
+++ b/
test/unit/print_cmdtype_code_hash/print_cmdtype_code.c
@@
-4,12
+4,12
@@
void print_cmdtype_code()
{
int i;
void print_cmdtype_code()
{
int i;
- CMD
CODE
TAB *np;
- for(i = 0; i < c
mdtab
size; i++){
+ CMDTAB *np;
+ for(i = 0; i < c
omet2cmd
size; i++){
np = cmdtype_code[i];
while(np != NULL) {
fprintf(stdout, "(%2d) - %s\t0%02o\t#%04X\n",
np = cmdtype_code[i];
while(np != NULL) {
fprintf(stdout, "(%2d) - %s\t0%02o\t#%04X\n",
- i, np->cmd
typecode->cmd, np->cmdtypecode->type, np->cmdtypecode
->code);
+ i, np->cmd
->name, np->cmd->type, np->cmd
->code);
np = np->next;
}
}
np = np->next;
}
}