| version 1.50, 2015/08/14 13:51:56 |
version 1.51, 2016/08/24 08:21:03 |
|
|
| * 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.49 2015/08/08 14:19:42 fujimoto Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/parse/lex.c,v 1.50 2015/08/14 13:51:56 fujimoto Exp $ |
| */ |
*/ |
| #include <ctype.h> |
#include <ctype.h> |
| #include "ca.h" |
#include "ca.h" |
| Line 74 extern Obj VOIDobj; |
|
| Line 74 extern Obj VOIDobj; |
|
| |
|
| extern int main_parser; |
extern int main_parser; |
| extern char *parse_strp; |
extern char *parse_strp; |
| extern int recv_intr; |
|
| |
|
| #define NBUFSIZ (BUFSIZ*10) |
#define NBUFSIZ (BUFSIZ*10) |
| #define TBUFSIZ (BUFSIZ) |
#define TBUFSIZ (BUFSIZ) |
| Line 625 int Egetc(FILE *fp) |
|
| Line 624 int Egetc(FILE *fp) |
|
| #endif |
#endif |
| c = getc(fp); |
c = getc(fp); |
| #if defined(VISUAL) || defined(__MINGW32__) |
#if defined(VISUAL) || defined(__MINGW32__) |
| if ( recv_intr ) { |
check_intr(); |
| #include <signal.h> |
|
| if ( recv_intr == 1 ) { |
|
| recv_intr = 0; |
|
| int_handler(SIGINT); |
|
| } else { |
|
| recv_intr = 0; |
|
| ox_usr1_handler(0); |
|
| } |
|
| } |
|
| #endif |
#endif |
| if ( c == EOF ) |
if ( c == EOF ) |
| return c; |
return c; |