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

Diff for /OpenXM_contrib2/asir2000/parse/lex.c between version 1.49 and 1.50

version 1.49, 2015/08/08 14:19:42 version 1.50, 2015/08/14 13:51:56
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/lex.c,v 1.48 2015/08/06 10:01:53 fujimoto Exp $   * $OpenXM: OpenXM_contrib2/asir2000/parse/lex.c,v 1.49 2015/08/08 14:19:42 fujimoto Exp $
 */  */
 #include <ctype.h>  #include <ctype.h>
 #include "ca.h"  #include "ca.h"
Line 54 
Line 54 
 #include "parse.h"  #include "parse.h"
 #include <sys/types.h>  #include <sys/types.h>
 #include <sys/stat.h>  #include <sys/stat.h>
 #if defined(VISUAL) || defined(__MINGW32__) || defined(__MINGW64__)  #if defined(VISUAL) || defined(__MINGW32__)
 #include "ytab.h"  #include "ytab.h"
 #else  #else
 #include "y.tab.h"  #include "y.tab.h"
Line 473  void purge_stdin()
Line 473  void purge_stdin()
         void w_purge_stdin();          void w_purge_stdin();
   
         w_purge_stdin();          w_purge_stdin();
 #elif defined(sparc) || defined(__alpha) || defined(__SVR4) || defined(mips) || defined(VISUAL) || defined(__MINGW32__) || defined(__MINGW64__) || defined(_IBMR2)  #elif defined(sparc) || defined(__alpha) || defined(__SVR4) || defined(mips) || defined(VISUAL) || defined(__MINGW32__) || defined(_IBMR2)
         stdin->_ptr = stdin->_base; stdin->_cnt = 0;          stdin->_ptr = stdin->_base; stdin->_cnt = 0;
 #elif (defined(__MACH__) && defined(__ppc__)) || defined(__CYGWIN__) || defined(__FreeBSD__) || defined(__INTERIX)  #elif (defined(__MACH__) && defined(__ppc__)) || defined(__CYGWIN__) || defined(__FreeBSD__) || defined(__INTERIX)
         stdin->_r = 0; stdin->_p = stdin->_bf._base;          stdin->_r = 0; stdin->_p = stdin->_bf._base;
Line 604  void yyerror(char *s)
Line 604  void yyerror(char *s)
                 }                  }
         } else          } else
                 fprintf(stderr,"exprparse : %s\n",s);                  fprintf(stderr,"exprparse : %s\n",s);
 #if defined(__MINGW32__) || defined(__MINGW64__)  
         fflush(stderr);  
 #endif  
 }  }
   
 int echoback;  int echoback;
Line 627  int Egetc(FILE *fp)
Line 624  int Egetc(FILE *fp)
                 else                  else
 #endif  #endif
                         c = getc(fp);                          c = getc(fp);
 #if defined(VISUAL) || defined(__MINGW32__) || defined(__MINGW64__)  #if defined(VISUAL) || defined(__MINGW32__)
                 if ( recv_intr ) {                  if ( recv_intr ) {
 #include <signal.h>  #include <signal.h>
                         if ( recv_intr == 1 ) {                          if ( recv_intr == 1 ) {

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50

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