[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.27 and 1.28

version 1.27, 2015/08/04 06:20:45 version 1.28, 2017/08/31 02:36:21
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.26 2006/08/27 22:17:28 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2000/io/cpexpr.c,v 1.27 2015/08/04 06:20:45 noro Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "parse.h"  #include "parse.h"
Line 77  static int total_length;
Line 77  static int total_length;
 #define PRINTSTR length_str  #define PRINTSTR length_str
 #define PRINTCOMP length_comp  #define PRINTCOMP length_comp
 #define PRINTDP length_dp  #define PRINTDP length_dp
   #define PRINTDPM length_dpm
 #define PRINTUI length_ui  #define PRINTUI length_ui
 #define PRINTGF2MAT length_gf2mat  #define PRINTGF2MAT length_gf2mat
 #define PRINTGFMMAT length_gfmmat  #define PRINTGFMMAT length_gfmmat
Line 294  void PRINTDP(VL vl,DP d)
Line 295  void PRINTDP(VL vl,DP d)
                         PUTS("+");                          PUTS("+");
         }          }
 }  }
   
   void PRINTDPM(VL vl,DPM d)
   {
           int n,i;
           DMM m;
           DL dl;
   
           for ( n = d->nv, m = BDY(d); m; m = NEXT(m) ) {
                   PUTS("("); PRINTEXPR(vl,(pointer)m->c); PUTS(")*<<");
                   for ( i = 0, dl = m->dl; i < n-1; i++ ) {
                           total_length += 11;
                   }
                   total_length += 10;
                   total_length += 11; /* for ':pos' */
                   PUTS(">>");
                   if ( NEXT(m) )
                           PUTS("+");
           }
   }
   
   
 void PRINTUI(VL vl,USINT u)  void PRINTUI(VL vl,USINT u)
 {  {

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

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