home *** CD-ROM | disk | FTP | other *** search
- *** scan.l.orig Fri Dec 20 11:54:53 1991
- --- scan.l Fri Dec 20 11:56:17 1991
- ***************
- *** 49,59 ****
- does nothing! */
- #include <errno.h>
- #undef YY_INPUT
- #define YY_INPUT(buf,result,max_size) \
- while ( (result = read( fileno(yyin), (char *) buf, max_size )) < 0 ) \
- if (errno != EINTR) \
- YY_FATAL_ERROR( "read() in flex scanner failed" );
- !
- %}
- DIGIT [0-9A-F]
- LETTER [a-z]
- --- 49,65 ----
- does nothing! */
- #include <errno.h>
- #undef YY_INPUT
- + #ifndef atarist
- #define YY_INPUT(buf,result,max_size) \
- while ( (result = read( fileno(yyin), (char *) buf, max_size )) < 0 ) \
- if (errno != EINTR) \
- YY_FATAL_ERROR( "read() in flex scanner failed" );
- ! #else
- ! #define YY_INPUT(buf,result,max_size) \
- ! while ( (result = _yyread( fileno(yyin), (char *) buf, max_size )) < 0 ) \
- ! if (errno != EINTR) \
- ! YY_FATAL_ERROR( "read() in flex scanner failed" );
- ! #endif
- %}
- DIGIT [0-9A-F]
- LETTER [a-z]
-