version 1.5, 2002/12/09 00:42:15 |
version 1.8, 2004/12/17 03:09:08 |
|
|
* 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.4 2001/09/04 03:12:20 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/parse/parser.c,v 1.7 2004/02/27 09:13:04 noro Exp $ |
*/ |
*/ |
#include <ctype.h> |
#include <ctype.h> |
#include "ca.h" |
#include "ca.h" |
Line 55 extern int main_parser, allow_create_var; |
|
Line 55 extern int main_parser, allow_create_var; |
|
extern char *parse_strp; |
extern char *parse_strp; |
extern SNODE parse_snode; |
extern SNODE parse_snode; |
extern FUNC parse_targetf; |
extern FUNC parse_targetf; |
|
extern int outputstyle; |
|
|
int mainparse(snodep) |
int mainparse(snodep) |
SNODE *snodep; |
SNODE *snodep; |
Line 159 void read_eval_loop() { |
|
Line 160 void read_eval_loop() { |
|
r1 = get_rtime(); |
r1 = get_rtime(); |
if ( !ox_do_copy ) { |
if ( !ox_do_copy ) { |
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)); |
else |
fflush(asir_out); |
|
} else |
printexpr(CO,LastVal); |
printexpr(CO,LastVal); |
|
if ( outputstyle == 1 ) { |
|
putc(';',asir_out); |
|
} |
putc('\n',asir_out); |
putc('\n',asir_out); |
fflush(asir_out); |
fflush(asir_out); |
} |
} |