=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/builtin/miscf.c,v retrieving revision 1.1.1.1 retrieving revision 1.6 diff -u -p -r1.1.1.1 -r1.6 --- OpenXM_contrib2/asir2000/builtin/miscf.c 1999/12/03 07:39:07 1.1.1.1 +++ OpenXM_contrib2/asir2000/builtin/miscf.c 2000/03/16 04:55:20 1.6 @@ -1,4 +1,4 @@ -/* $OpenXM: OpenXM/src/asir99/builtin/miscf.c,v 1.1.1.1 1999/11/10 08:12:25 noro Exp $ */ +/* $OpenXM: OpenXM_contrib2/asir2000/builtin/miscf.c,v 1.5 2000/03/10 06:42:22 noro Exp $ */ #include "ca.h" #include "parse.h" #if INET && !defined(VISUAL) @@ -34,7 +34,7 @@ struct ftab misc_tab[] = { {"gc",Pgc,0}, {"batch",Pbatch,2}, {"send_progress",Psend_progress,-2}, -#if INET && !defined(VISUAL) +#if INET && !defined(VISUAL) && DO_PLOT {"xpause",Pxpause,0}, #endif #if 0 @@ -74,7 +74,7 @@ pointer *rp; asir_terminate(2); else { closecurrentinput(); - if ( !asir_infile->fp ) + if ( !asir_infile->fp && strcmp(asir_infile->name,"string") ) asir_terminate(2); } *rp = 0; @@ -189,7 +189,9 @@ Q *rp; code = QTOS((Q)ARG0(arg)); reason = BDY((STRING)ARG1(arg)); action = BDY((STRING)ARG2(arg)); +#if defined(VISUAL) set_error(code,reason,action); +#endif error(""); *rp = 0; } @@ -277,7 +279,7 @@ Q *rp; STOQ(ret,*rp); } -#if INET && !defined(VISUAL) +#if INET && !defined(VISUAL) && DO_PLOT void Pxpause(rp) Q *rp; {