[BACK]Return to parser.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / parse

Diff for /OpenXM_contrib2/asir2000/parse/parser.c between version 1.10 and 1.12

version 1.10, 2015/08/09 11:46:43 version 1.12, 2018/03/28 05:27:22
Line 45 
Line 45 
  * 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.9 2008/09/04 01:42:26 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2000/parse/parser.c,v 1.11 2015/08/14 13:51:56 fujimoto Exp $
 */  */
 #include <ctype.h>  #include <ctype.h>
 #include "ca.h"  #include "ca.h"
Line 141  int exprparse_create_var(FUNC f,char *str,SNODE *statp
Line 141  int exprparse_create_var(FUNC f,char *str,SNODE *statp
 }  }
   
 extern FUNC user_print_function;  extern FUNC user_print_function;
   extern f_break,f_continue,f_return;
   
 void read_eval_loop() {  void read_eval_loop() {
         struct oEGT egt0,egt1;          struct oEGT egt0,egt1;
Line 157  void read_eval_loop() {
Line 158  void read_eval_loop() {
                 get_eg(&egt0);                  get_eg(&egt0);
                 r0 = get_rtime();                  r0 = get_rtime();
                 LastVal = evalstat(snode);                  LastVal = evalstat(snode);
                   f_break = f_continue = f_return = 0;
                 storeans(LastVal);                  storeans(LastVal);
                 get_eg(&egt1);                  get_eg(&egt1);
                 r1 = get_rtime();                  r1 = get_rtime();
Line 164  void read_eval_loop() {
Line 166  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__) && !defined(__MINGW64__)  #if !defined(__MINGW32__)
                                         fflush(asir_out);                                          fflush(asir_out);
 #endif  #endif
                                 } else                                  } else
Line 173  void read_eval_loop() {
Line 175  void read_eval_loop() {
                                         putc(';',asir_out);                                          putc(';',asir_out);
                                 }                                  }
                                 putc('\n',asir_out);                                  putc('\n',asir_out);
 #if !defined(__MINGW32__) && !defined(__MINGW64__)  #if !defined(__MINGW32__)
                                 fflush(asir_out);                                  fflush(asir_out);
 #endif  #endif
                         }                          }
                         if ( prtime ) {                          if ( prtime ) {
                                 printtime(&egt0,&egt1,r1-r0);                                  printtime(&egt0,&egt1,r1-r0);
                         }                          }
 #if defined(__MINGW32__) || defined(__MINGW64__)  #if defined(__MINGW32__)
                         fflush(asir_out);                          fflush(asir_out);
                         fflush(stderr);                          fflush(stderr);
 #endif  #endif

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.12

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>