version 1.31, 2004/03/04 07:11:01 |
version 1.33, 2004/04/30 08:25:38 |
|
|
* 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.30 2004/03/01 02:03:28 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/parse/lex.c,v 1.32 2004/03/26 08:25:37 noro Exp $ |
*/ |
*/ |
#include <ctype.h> |
#include <ctype.h> |
#include "ca.h" |
#include "ca.h" |
|
|
c1 = Getc(); |
c1 = Getc(); |
if ( c1 == 'n' ) { |
if ( c1 == 'n' ) { |
c1 = '\n'; |
c1 = '\n'; |
|
}else if ( c1 == 'r' ) { |
|
c1 = '\r'; |
}else if ( c1 == 't' ) { |
}else if ( c1 == 't' ) { |
c1 = '\t'; |
c1 = '\t'; |
}else if ( isdigit(c1) ){ |
}else if ( isdigit(c1) ){ |
Line 478 void purge_stdin() |
|
Line 480 void purge_stdin() |
|
#endif |
#endif |
} |
} |
|
|
|
extern int asir_texmacs; |
|
|
static int skipspace() { |
static int skipspace() { |
int c,c1; |
int c,c1; |
|
|
Line 486 static int skipspace() { |
|
Line 490 static int skipspace() { |
|
case ' ': case '\t': case '\r': |
case ' ': case '\t': case '\r': |
c = Getc(); break; |
c = Getc(); break; |
case '\n': |
case '\n': |
c = afternl(); break; |
c = afternl(); break; |
case '/': |
case '/': |
if ( (c1 = Getc()) == '*' ) |
if ( (c1 = Getc()) == '*' ) |
c = aftercomment(); |
c = aftercomment(); |