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

Diff for /OpenXM_contrib2/asir2018/builtin/type.c between version 1.1 and 1.2

version 1.1, 2018/09/19 05:45:06 version 1.2, 2018/09/28 08:20:27
Line 45 
Line 45 
  * 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: OpenXM_contrib2/asir2018/builtin/type.c,v 1.1 2018/09/19 05:45:06 noro Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "parse.h"  #include "parse.h"
Line 66  Obj *rp;
Line 66  Obj *rp;
   Z q;    Z q;
   
   if ( t = (Obj)ARG0(arg) ) {    if ( t = (Obj)ARG0(arg) ) {
     STOQ(OID(t),q); *rp = (Obj)q;      STOZ(OID(t),q); *rp = (Obj)q;
   } else    } else
     *rp = 0;      *rp = 0;
 }  }
Line 80  Obj *rp;
Line 80  Obj *rp;
   
   if ( t = (Obj)ARG0(arg) ) {    if ( t = (Obj)ARG0(arg) ) {
     asir_assert(t,O_N,"ntype");      asir_assert(t,O_N,"ntype");
     STOQ(NID(t),q); *rp = (Obj)q;      STOZ(NID(t),q); *rp = (Obj)q;
   } else    } else
     *rp = 0;      *rp = 0;
 }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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