version 1.13, 2000/12/26 05:17:47 |
version 1.15, 2001/06/04 02:49:48 |
|
|
* 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.12 2000/12/22 10:03:32 saito Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/parse/lex.c,v 1.14 2001/03/08 07:49:13 noro Exp $ |
*/ |
*/ |
#include <ctype.h> |
#include <ctype.h> |
#include "ca.h" |
#include "ca.h" |
Line 413 void purge_stdin() |
|
Line 413 void purge_stdin() |
|
w_purge_stdin(); |
w_purge_stdin(); |
#elif defined(sparc) || defined(__alpha) || defined(__SVR4) || defined(mips) || defined(VISUAL) |
#elif defined(sparc) || defined(__alpha) || defined(__SVR4) || defined(mips) || defined(VISUAL) |
stdin->_ptr = stdin->_base; stdin->_cnt = 0; |
stdin->_ptr = stdin->_base; stdin->_cnt = 0; |
|
#elif defined(__MACH__) && defined(__ppc__) |
|
stdin->_r = 0; stdin->_p = stdin->_bf._base; |
#else |
#else |
--->FIXIT |
--->FIXIT |
#endif |
#endif |
Line 423 static int skipspace() { |
|
Line 425 static int skipspace() { |
|
|
|
for ( c = Getc(); ; ) |
for ( c = Getc(); ; ) |
switch ( c ) { |
switch ( c ) { |
case ' ': case '\t': |
case ' ': case '\t': case '\r': |
c = Getc(); break; |
c = Getc(); break; |
case '\n': |
case '\n': |
c = afternl(); break; |
c = afternl(); break; |