X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=test%2Funit%2Fprint_code_type_hash%2Fprint_code_type.c;h=80fea831cc9b8cca0f6401fb7bc36486fc5dc469;hb=3aab1400bc11c15975b3094ac44e02c73a8c3d04;hp=a8860c463c3ad462a975319bd5c963c666951d7f;hpb=4ee27a568fb9222907a566e59aaefe248f08a8e4;p=YACASL2.git 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); } } }