PostGIS  2.5.0dev-r@@SVN_REVISION@@
#define YY_INPUT (   buf,
  result,
  max_size 
)
Value:
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
{ \
int c = '*'; \
size_t n; \
for ( n = 0; n < max_size && \
(c = getc( wkt_yyin )) != EOF && c != '\n'; ++n ) \
buf[n] = (char) c; \
if ( c == '\n' ) \
buf[n++] = (char) c; \
if ( c == EOF && ferror( wkt_yyin ) ) \
YY_FATAL_ERROR( "input in flex scanner failed" ); \
result = n; \
} \
else \
{ \
errno=0; \
while ( (result = fread(buf, 1, max_size, wkt_yyin))==0 && ferror(wkt_yyin)) \
{ \
if( errno != EINTR) \
{ \
YY_FATAL_ERROR( "input in flex scanner failed" ); \
break; \
} \
errno=0; \
clearerr(wkt_yyin); \
} \
}\
\
FILE * wkt_yyin
Definition: lwin_wkt_lex.c:385
#define YY_FATAL_ERROR(msg)
Definition: lwin_wkt_lex.c:844
#define YY_CURRENT_BUFFER_LVALUE
Definition: lwin_wkt_lex.c:315
while(1)
Definition: lwin_wkt_lex.c:914
else
Definition: shpopen.c:1072
if(!(yy_init))
Definition: lwin_wkt_lex.c:888

Definition at line 797 of file lwin_wkt_lex.c.

Referenced by yy_get_next_buffer().