[BACK]Return to print.c CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_toolkit

Diff for /OpenXM/src/ox_toolkit/print.c between version 1.4 and 1.5

version 1.4, 2003/01/13 12:03:12 version 1.5, 2003/02/03 23:13:23
Line 1 
Line 1 
 /* -*- 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);
     }      }

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>