=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/parse/parser.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -p -r1.5 -r1.6 --- OpenXM_contrib2/asir2000/parse/parser.c 2002/12/09 00:42:15 1.5 +++ OpenXM_contrib2/asir2000/parse/parser.c 2003/06/07 16:40:26 1.6 @@ -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.4 2001/09/04 03:12:20 noro Exp $ + * $OpenXM: OpenXM_contrib2/asir2000/parse/parser.c,v 1.5 2002/12/09 00:42:15 noro Exp $ */ #include #include "ca.h" @@ -55,6 +55,7 @@ extern int main_parser, allow_create_var; extern char *parse_strp; extern SNODE parse_snode; extern FUNC parse_targetf; +extern int outputstyle; int mainparse(snodep) SNODE *snodep; @@ -163,6 +164,9 @@ void read_eval_loop() { bevalf(user_print_function,mknode(1,LastVal)); else printexpr(CO,LastVal); + if ( outputstyle == 1 ) { + putc(';',asir_out); + } putc('\n',asir_out); fflush(asir_out); }