=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/parse/parser.c,v retrieving revision 1.6 retrieving revision 1.8 diff -u -p -r1.6 -r1.8 --- OpenXM_contrib2/asir2000/parse/parser.c 2003/06/07 16:40:26 1.6 +++ OpenXM_contrib2/asir2000/parse/parser.c 2004/12/17 03:09:08 1.8 @@ -45,7 +45,7 @@ * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. * - * $OpenXM: OpenXM_contrib2/asir2000/parse/parser.c,v 1.5 2002/12/09 00:42:15 noro Exp $ + * $OpenXM: OpenXM_contrib2/asir2000/parse/parser.c,v 1.7 2004/02/27 09:13:04 noro Exp $ */ #include #include "ca.h" @@ -160,9 +160,10 @@ void read_eval_loop() { r1 = get_rtime(); if ( !ox_do_copy ) { if ( prresult ) { - if ( user_print_function ) + if ( user_print_function ) { bevalf(user_print_function,mknode(1,LastVal)); - else + fflush(asir_out); + } else printexpr(CO,LastVal); if ( outputstyle == 1 ) { putc(';',asir_out);