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

Diff for /OpenXM_contrib2/asir2000/builtin/type.c between version 1.2 and 1.4

version 1.2, 2000/08/21 08:31:21 version 1.4, 2018/03/29 01:32:50
Line 23 
Line 23 
  * shall be made on your publication or presentation in any form of the   * shall be made on your publication or presentation in any form of the
  * results obtained by use of the SOFTWARE.   * results obtained by use of the SOFTWARE.
  * (4) In the event that you modify the SOFTWARE, you shall notify FLL by   * (4) In the event that you modify the SOFTWARE, you shall notify FLL by
  * e-mail at risa-admin@flab.fujitsu.co.jp of the detailed specification   * e-mail at risa-admin@sec.flab.fujitsu.co.jp of the detailed specification
  * for such modification or the source code of the modified part of the   * for such modification or the source code of the modified part of the
  * SOFTWARE.   * SOFTWARE.
  *   *
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_contrib2/asir2000/builtin/type.c,v 1.1.1.1 1999/12/03 07:39:07 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2000/builtin/type.c,v 1.3 2000/08/22 05:04:00 noro Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "parse.h"  #include "parse.h"
Line 53 
Line 53 
 void Ptype(), Pntype();  void Ptype(), Pntype();
   
 struct ftab type_tab[] = {  struct ftab type_tab[] = {
         {"type",Ptype,1},    {"type",Ptype,1},
         {"ntype",Pntype,1},    {"ntype",Pntype,1},
         {0,0,0},    {0,0,0},
 };  };
   
 void Ptype(arg,rp)  void Ptype(arg,rp)
 NODE arg;  NODE arg;
 Obj *rp;  Obj *rp;
 {  {
         Obj t;    Obj t;
         Q q;    Q q;
   
         if ( t = (Obj)ARG0(arg) ) {    if ( t = (Obj)ARG0(arg) ) {
                 STOQ(OID(t),q); *rp = (Obj)q;      STOQ(OID(t),q); *rp = (Obj)q;
         } else    } else
                 *rp = 0;      *rp = 0;
 }  }
   
 void Pntype(arg,rp)  void Pntype(arg,rp)
 NODE arg;  NODE arg;
 Obj *rp;  Obj *rp;
 {  {
         Obj t;    Obj t;
         Q q;    Q q;
   
         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;      STOQ(NID(t),q); *rp = (Obj)q;
         } else    } else
                 *rp = 0;      *rp = 0;
 }  }

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

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