[BACK]Return to cpexpr.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / io

Diff for /OpenXM_contrib2/asir2000/io/cpexpr.c between version 1.17 and 1.18

version 1.17, 2004/02/09 08:23:30 version 1.18, 2004/03/03 09:25:30
Line 44 
Line 44 
  * OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY   * OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY
  * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,   * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,
  * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.   * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.
  * $OpenXM: OpenXM_contrib2/asir2000/io/cpexpr.c,v 1.16 2003/12/25 02:40:24 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2000/io/cpexpr.c,v 1.17 2004/02/09 08:23:30 noro Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "parse.h"  #include "parse.h"
Line 83  extern int hex_output,fortran_output,double_output,rea
Line 83  extern int hex_output,fortran_output,double_output,rea
 #define PRINTQUOTE length_QUOTE  #define PRINTQUOTE length_QUOTE
 #define PRINTSYMBOL length_SYMBOL  #define PRINTSYMBOL length_SYMBOL
 #define PRINTRANGE length_RANGE  #define PRINTRANGE length_RANGE
   #define PRINTTB length_TB
 #define PRINTERR length_err  #define PRINTERR length_err
 #define PRINTLF length_lf  #define PRINTLF length_lf
 #define PRINTLOP length_lop  #define PRINTLOP length_lop
Line 112  void PRINTBYTEARRAY();
Line 113  void PRINTBYTEARRAY();
 void PRINTQUOTE();  void PRINTQUOTE();
 void PRINTSYMBOL();  void PRINTSYMBOL();
 void PRINTRANGE();  void PRINTRANGE();
   void PRINTTB();
 void PRINTERR();  void PRINTERR();
 void PRINTCPLX();  void PRINTCPLX();
 void PRINTLM();  void PRINTLM();
Line 197  void PRINTEXPR(VL vl,pointer p)
Line 199  void PRINTEXPR(VL vl,pointer p)
                         PRINTSYMBOL((SYMBOL)p); break;                          PRINTSYMBOL((SYMBOL)p); break;
                 case O_RANGE:                  case O_RANGE:
                         PRINTRANGE(vl,(RANGE)p); break;                          PRINTRANGE(vl,(RANGE)p); break;
                   case O_TB:
                           PRINTTB(vl,(TB)p); break;
                 default:                  default:
                         break;                          break;
         }          }
Line 558  void PRINTRANGE(VL vl,RANGE r)
Line 562  void PRINTRANGE(VL vl,RANGE r)
 {  {
         PUTS("range("); PRINTEXPR(vl,r->start);          PUTS("range("); PRINTEXPR(vl,r->start);
         PUTS(","); PRINTEXPR(vl,r->end); PUTS(")");          PUTS(","); PRINTEXPR(vl,r->end); PUTS(")");
   }
   
   void PRINTTB(VL vl,TB p)
   {
           int i;
   
           for ( i = 0; i < p->next; i++ ) {
                   total_length += strlen(p->body[i]);
           }
 }  }
   
 void PRINTERR(VL vl,ERR e)  void PRINTERR(VL vl,ERR e)

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

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