version 1.60, 2006/02/11 09:10:16 |
version 1.64, 2006/09/26 05:35:26 |
|
|
* 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/ox_asir.c,v 1.59 2006/02/08 02:11:19 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/io/ox_asir.c,v 1.63 2006/06/21 09:46:06 noro Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
Line 191 void ox_main(int argc,char **argv) { |
|
Line 191 void ox_main(int argc,char **argv) { |
|
asir_push_one((Obj)err); |
asir_push_one((Obj)err); |
while ( NEXT(asir_infile) ) |
while ( NEXT(asir_infile) ) |
closecurrentinput(); |
closecurrentinput(); |
|
resetpvs(); |
} |
} |
break; |
break; |
} |
} |
Line 596 void asir_pushCMOtag(unsigned int serial) |
|
Line 597 void asir_pushCMOtag(unsigned int serial) |
|
} |
} |
} |
} |
|
|
|
void print_to_wfep(Obj obj) |
|
{ |
|
asir_push_one(obj); |
|
asir_popString(); |
|
} |
|
|
void asir_popString() |
void asir_popString() |
{ |
{ |
Obj val; |
Obj val; |
Line 703 int asir_executeString() |
|
Line 710 int asir_executeString() |
|
#else |
#else |
parse_strp = cmd; |
parse_strp = cmd; |
#endif |
#endif |
|
asir_infile->ln = 1; |
if ( mainparse(&snode) ) { |
if ( mainparse(&snode) ) { |
return -1; |
return -1; |
} |
} |
Line 858 void ox_asir_init(int argc,char **argv,char *servernam |
|
Line 866 void ox_asir_init(int argc,char **argv,char *servernam |
|
FILE *ifp; |
FILE *ifp; |
char *homedir; |
char *homedir; |
char *ptr; |
char *ptr; |
|
int do_server_sav; |
#if !defined(VISUAL) |
#if !defined(VISUAL) |
int tmp; |
int tmp; |
#endif |
#endif |
Line 916 void ox_asir_init(int argc,char **argv,char *servernam |
|
Line 925 void ox_asir_init(int argc,char **argv,char *servernam |
|
|
|
if ( do_asirrc && (ifp = fopen(ifname,"r")) ) { |
if ( do_asirrc && (ifp = fopen(ifname,"r")) ) { |
fclose(ifp); |
fclose(ifp); |
|
do_server_sav = do_server_in_X11; |
|
do_server_in_X11 = 0; |
if ( !SETJMP(main_env) ) |
if ( !SETJMP(main_env) ) |
execasirfile(ifname); |
execasirfile(ifname); |
|
do_server_in_X11 = do_server_sav; |
} |
} |
|
|
/* XXX Windows compatibility */ |
/* XXX Windows compatibility */ |