version 1.15, 2003/02/12 08:28:40 |
version 1.16, 2003/03/16 16:58:48 |
|
|
/* -*- mode: C -*- */ |
/* -*- mode: C -*- */ |
/* $OpenXM: OpenXM/src/ox_math/mlo.c,v 1.14 2003/01/17 11:31:10 ohara Exp $ */ |
/* $OpenXM: OpenXM/src/ox_math/mlo.c,v 1.15 2003/02/12 08:28:40 ohara Exp $ */ |
|
|
/* |
/* |
Copyright (C) Katsuyoshi OHARA, 2000. |
Copyright (C) Katsuyoshi OHARA, 2000. |
Line 519 mlo *ml_return() |
|
Line 519 mlo *ml_return() |
|
mlo *ob; |
mlo *ob; |
if (ml_state(INTERRUPTED)) { |
if (ml_state(INTERRUPTED)) { |
if (ml_next_packet() == RETURNPKT) { |
if (ml_next_packet() == RETURNPKT) { |
|
/* a computation has done before the interruption */ |
ob = ml_return0(); |
ob = ml_return0(); |
|
ml_clear_interruption(); |
}else { |
}else { |
ob = (mlo *)new_cmo_indeterminate((cmo *)new_cmo_string("$Aborted")); |
ml_clear_interruption(); |
|
ml_evaluateStringByLocalParser("0"); /* need for 4.x */ |
|
ob = ml_return0(); /* ReturnPacket[$Aborted] */ |
|
ml_return0(); /* need for 4.x */ |
} |
} |
ml_clear_interruption(); |
|
}else { |
}else { |
ob = ml_return0(); |
ob = ml_return0(); |
} |
} |