[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.42 and 1.43

version 1.42, 2006/09/29 08:58:22 version 1.43, 2007/02/18 05:36:28
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.41 2006/03/05 08:21:59 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2000/parse/lex.c,v 1.42 2006/09/29 08:58:22 noro Exp $
 */  */
 #include <ctype.h>  #include <ctype.h>
 #include "ca.h"  #include "ca.h"
Line 466  int yylex()
Line 466  int yylex()
   
 void purge_stdin()  void purge_stdin()
 {  {
 #if defined(__FreeBSD__)  #if defined(__FreeBSD__) || defined(__DARWIN__)
         fpurge(stdin);          fpurge(stdin);
 #elif defined(linux)  #elif defined(linux)
         stdin->_IO_read_end = stdin->_IO_read_base;          stdin->_IO_read_end = stdin->_IO_read_base;

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43

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