version 1.9, 2008/09/04 01:42:26 |
version 1.11, 2015/08/14 13:51:56 |
|
|
* 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/parser.c,v 1.8 2004/12/17 03:09:08 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/parse/parser.c,v 1.10 2015/08/09 11:46:43 fujimoto Exp $ |
*/ |
*/ |
#include <ctype.h> |
#include <ctype.h> |
#include "ca.h" |
#include "ca.h" |
Line 164 void read_eval_loop() { |
|
Line 164 void read_eval_loop() { |
|
if ( prresult ) { |
if ( prresult ) { |
if ( user_print_function ) { |
if ( user_print_function ) { |
bevalf(user_print_function,mknode(1,LastVal)); |
bevalf(user_print_function,mknode(1,LastVal)); |
|
#if !defined(__MINGW32__) |
fflush(asir_out); |
fflush(asir_out); |
|
#endif |
} else |
} else |
printexpr(CO,LastVal); |
printexpr(CO,LastVal); |
if ( outputstyle == 1 ) { |
if ( outputstyle == 1 ) { |
putc(';',asir_out); |
putc(';',asir_out); |
} |
} |
putc('\n',asir_out); |
putc('\n',asir_out); |
|
#if !defined(__MINGW32__) |
fflush(asir_out); |
fflush(asir_out); |
|
#endif |
} |
} |
if ( prtime ) { |
if ( prtime ) { |
printtime(&egt0,&egt1,r1-r0); |
printtime(&egt0,&egt1,r1-r0); |
} |
} |
|
#if defined(__MINGW32__) |
|
fflush(asir_out); |
|
fflush(stderr); |
|
#endif |
prompt(); |
prompt(); |
} |
} |
} |
} |