X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=test%2Funit%2Fprint_code_type_hash%2Fprint_code_type.c;h=80fea831cc9b8cca0f6401fb7bc36486fc5dc469;hp=a8860c463c3ad462a975319bd5c963c666951d7f;hb=06ccc214315a98123b3ac4c91af1e1b09ab7fc07;hpb=e6f41d41cff07e56b0cbc7d515c46327206c9f40 diff --git a/test/unit/print_code_type_hash/print_code_type.c b/test/unit/print_code_type_hash/print_code_type.c index a8860c4..80fea83 100644 --- a/test/unit/print_code_type_hash/print_code_type.c +++ b/test/unit/print_code_type_hash/print_code_type.c @@ -5,11 +5,11 @@ void print_code_type() { int i; - CMDCODETAB *np; + CMDTAB *np; for(i = 0; i < cmdtabsize; i++){ for(np = code_type[i]; np != NULL; np = np->next) { fprintf(stdout, "(%2d) - #%04X\t0%02o\t%s\n", - i, np->cmdtypecode->code, np->cmdtypecode->type, np->cmdtypecode->cmd); + i, np->cmd->code, np->cmd->type, np->cmd->name); } } }