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

Diff for /OpenXM_contrib2/asir2018/io/cpexpr.c between version 1.4 and 1.5

version 1.4, 2020/02/22 06:23:36 version 1.5, 2020/10/06 06:31:20
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/asir2018/io/cpexpr.c,v 1.3 2019/03/06 07:35:40 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2018/io/cpexpr.c,v 1.4 2020/02/22 06:23:36 noro Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "parse.h"  #include "parse.h"
Line 403  void PRINTUP2(UP2 p)
Line 403  void PRINTUP2(UP2 p)
       total_length += 11;        total_length += 11;
     }      }
     for ( i = d-1; i >= 0; i-- ) {      for ( i = d-1; i >= 0; i-- ) {
       if ( p->b[i/BSH] & (1<<(i%BSH)) )        if ( p->b[i/BSH] & (1<<(i%BSH)) ) {
         if ( !i ) {          if ( !i ) {
           PUTS("+1");            PUTS("+1");
         } else if ( i == 1 ) {          } else if ( i == 1 ) {
Line 412  void PRINTUP2(UP2 p)
Line 412  void PRINTUP2(UP2 p)
           PRINTHAT;            PRINTHAT;
           total_length += 12;            total_length += 12;
         }          }
         }
     }      }
     PUTS(")");      PUTS(")");
   }    }

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

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