version 1.53, 2004/12/17 03:09:08 |
version 1.54, 2004/12/18 09:25:58 |
|
|
* 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/glob.c,v 1.52 2004/12/15 22:51:40 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/parse/glob.c,v 1.53 2004/12/17 03:09:08 noro Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "al.h" |
#include "al.h" |
Line 225 void asir_terminate(int status) |
|
Line 225 void asir_terminate(int status) |
|
else |
else |
LONGJMP(exec_env,status); |
LONGJMP(exec_env,status); |
} else { |
} else { |
|
if ( user_quit_handler ) { |
|
fprintf(stderr,"Calling the registered quit callbacks..."); |
|
for ( n = user_quit_handler; n; n = NEXT(n) ) |
|
bevalf((FUNC)BDY(n),0); |
|
fprintf(stderr, "done.\n"); |
|
} |
tty_reset(); |
tty_reset(); |
#if defined(MPI) |
#if defined(MPI) |
if ( !mpi_myid ) |
if ( !mpi_myid ) |
Line 244 void asir_terminate(int status) |
|
Line 250 void asir_terminate(int status) |
|
write_history(asir_history); |
write_history(asir_history); |
} |
} |
#endif |
#endif |
if ( user_quit_handler ) { |
|
fprintf(stderr,"Calling the registered quit callbacks..."); |
|
for ( n = user_quit_handler; n; n = NEXT(n) ) |
|
bevalf((FUNC)BDY(n),0); |
|
fprintf(stderr, "done.\n"); |
|
} |
|
ExitAsir(); |
ExitAsir(); |
} |
} |
} |
} |