| version 1.4, 2003/01/13 12:03:12 |
version 1.5, 2003/02/03 23:13:23 |
|
|
| /* -*- mode: C; coding: euc-japan -*- */ |
/* -*- mode: C; coding: euc-japan -*- */ |
| /* $OpenXM: OpenXM/src/ox_toolkit/print.c,v 1.3 2003/01/11 11:42:32 ohara Exp $ */ |
/* $OpenXM: OpenXM/src/ox_toolkit/print.c,v 1.4 2003/01/13 12:03:12 ohara Exp $ */ |
| |
|
| /* |
/* |
| Functions in this module print a given CMO to console. |
Functions in this module print a given CMO to console. |
| Line 19 static void print_cmo_string(cmo_string* c); |
|
| Line 19 static void print_cmo_string(cmo_string* c); |
|
| void print_cmo(cmo* c) |
void print_cmo(cmo* c) |
| { |
{ |
| int tag = c->tag; |
int tag = c->tag; |
| |
char *s = get_symbol_by_tag(tag); |
| symbol_t symp = lookup_by_tag(tag); |
if (s != NULL) { |
| if (symp != NULL) { |
ox_printf("(%s", s); |
| ox_printf("(%s", symp->key); |
|
| }else { |
}else { |
| ox_printf("(%d", tag); |
ox_printf("(%d", tag); |
| } |
} |