[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.4 and 1.6

version 1.4, 2000/08/21 08:31:47 version 1.6, 2000/11/13 01:48:13
Line 23 
Line 23 
  * shall be made on your publication or presentation in any form of the   * shall be made on your publication or presentation in any form of the
  * results obtained by use of the SOFTWARE.   * results obtained by use of the SOFTWARE.
  * (4) In the event that you modify the SOFTWARE, you shall notify FLL by   * (4) In the event that you modify the SOFTWARE, you shall notify FLL by
  * e-mail at risa-admin@flab.fujitsu.co.jp of the detailed specification   * e-mail at risa-admin@sec.flab.fujitsu.co.jp of the detailed specification
  * for such modification or the source code of the modified part of the   * for such modification or the source code of the modified part of the
  * SOFTWARE.   * SOFTWARE.
  *   *
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.3 2000/07/25 01:15:07 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2000/parse/lex.c,v 1.5 2000/08/22 05:04:27 noro Exp $
 */  */
 #include <ctype.h>  #include <ctype.h>
 #include "ca.h"  #include "ca.h"
Line 397  yylex()
Line 397  yylex()
                 }                  }
         } else          } else
                 return ( c );                  return ( c );
   }
   
   void purge_stdin()
   {
   #if defined(VISUAL)
   #elif defined(__FreeBSD__)
           fpurge(stdin);
   #elif defined(linux)
           stdin->_IO_read_end = stdin->_IO_read_base;
           stdin->_IO_read_ptr = stdin->_IO_read_base;
   #elif defined(sparc) || defined(__alpha) || defined(__SVR4) || defined(mips)
           stdin->_ptr = stdin->_base; stdin->_cnt = 0;
   #elif defined(VISUAL)
           w_purge_stdin();
   #else
   --->FIXIT
   #endif
 }  }
   
 static int skipspace() {  static int skipspace() {

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.6

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