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

Diff for /OpenXM_contrib2/asir2000/parse/asir_sm.c between version 1.3 and 1.7

version 1.3, 2000/08/22 05:04:25 version 1.7, 2004/06/15 00:56:52
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/parse/asir_sm.c,v 1.2 2000/08/21 08:31:45 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2000/parse/asir_sm.c,v 1.6 2004/02/13 05:48:36 saito Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "parse.h"  #include "parse.h"
Line 53 
Line 53 
 #include <console.h>  #include <console.h>
 #endif  #endif
   
 #if PARI  #if defined(PARI)
 #include "genpari.h"  #include "genpari.h"
   #  if !(PARI_VERSION_CODE > 131588)
 extern jmp_buf environnement;  extern jmp_buf environnement;
   #  endif
 #endif  #endif
   
 extern jmp_buf env;  extern jmp_buf env;
 extern int *StackBottom;  
 extern int ox_do_copy, ox_do_count, ox_count_length;  extern int ox_do_copy, ox_do_count, ox_count_length;
 extern char *ox_copy_bptr;  extern char *ox_copy_bptr;
   
Line 83  Asir_Start()
Line 83  Asir_Start()
         asir_save_handler();          asir_save_handler();
         if ( ox_asir_initialized )          if ( ox_asir_initialized )
                 return;                  return;
           GC_init();
         ox_asir_initialized = 1;          ox_asir_initialized = 1;
         ox_do_copy = 1;          ox_do_copy = 1;
 #if defined(THINK_C)  #if defined(THINK_C)
         param_init();          param_init();
 #endif  #endif
         StackBottom = &tmp + 1; /* XXX */  
         rtime_init();          rtime_init();
         env_init();          env_init();
         endian_init();          endian_init();
Line 98  Asir_Start()
Line 98  Asir_Start()
 #if defined(TOWNS) && !defined(GO32) && !defined(__WIN32__)  #if defined(TOWNS) && !defined(GO32) && !defined(__WIN32__)
         disable_ctrl_c();          disable_ctrl_c();
 #endif  #endif
         GC_init();  
 /*      process_args(argc,argv); */  /*      process_args(argc,argv); */
 #if 0  #if 0
         copyright();          copyright();
Line 147  char *s;
Line 146  char *s;
 {  {
         SNODE snode;          SNODE snode;
         pointer val;          pointer val;
 #if PARI  #if defined(PARI)
         static long tloc,listloc;          static long tloc,listloc;
         extern long avloc;          extern long avloc;
   
         Asir_Start();          Asir_Start();
         asir_set_handler();          asir_set_handler();
         avloc = avma; tloc = tglobal; listloc = marklist();          avloc = avma; tloc = tglobal; listloc = marklist();
   #  if !(PARI_VERSION_CODE > 131588)
         if ( setjmp(environnement) ) {          if ( setjmp(environnement) ) {
                 avma = avloc; tglobal = tloc; recover(listloc);                  avma = avloc; tglobal = tloc; recover(listloc);
                 resetenv("");                  resetenv("");
         }          }
   #  endif
 #endif  #endif
         if ( setjmp(env) ) {          if ( setjmp(env) ) {
                 asir_reset_handler();                  asir_reset_handler();

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.7

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