/[adonthell]/adonthell-0.3/src/lex.prefs.cc
ViewVC logotype

Diff of /adonthell-0.3/src/lex.prefs.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by ksterker, Mon Oct 25 06:55:01 2004 UTC revision 1.16 by ksterker, Sat Apr 16 17:56:32 2005 UTC
# Line 27  Line 27 
27  #define YY_FLEX_MINOR_VERSION 5  #define YY_FLEX_MINOR_VERSION 5
28    
29  #include <stdio.h>  #include <stdio.h>
30    #include <errno.h>
31    
32  /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */  /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
33  #ifdef c_plusplus  #ifdef c_plusplus
# Line 40  Line 40 
40  #ifdef __cplusplus  #ifdef __cplusplus
41    
42  #include <stdlib.h>  #include <stdlib.h>
43    #ifndef _WIN32
44  #include <unistd.h>  #include <unistd.h>
45    #endif
46    
47  /* Use prototypes in function declarations. */  /* Use prototypes in function declarations. */
48  #define YY_USE_PROTOS  #define YY_USE_PROTOS
# Line 477  char *yytext; Line 479  char *yytext;
479    
480  #define YY_NO_UNPUT 1  #define YY_NO_UNPUT 1
481  #define YY_NEVER_INTERACTIVE 1  #define YY_NEVER_INTERACTIVE 1
482  #line 481 "lex.prefs.cc"  #line 483 "lex.prefs.cc"
483    
484  /* Macros after this point can all be overridden by user definitions in  /* Macros after this point can all be overridden by user definitions in
485   * section 1.   * section 1.
# Line 577  YY_MALLOC_DECL Line 579  YY_MALLOC_DECL
579                          YY_FATAL_ERROR( "input in flex scanner failed" ); \                          YY_FATAL_ERROR( "input in flex scanner failed" ); \
580                  result = n; \                  result = n; \
581                  } \                  } \
582          else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \          else \
583                    && ferror( yyin ) ) \                  { \
584                  YY_FATAL_ERROR( "input in flex scanner failed" );                  errno=0; \
585                    while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
586                            { \
587                            if( errno != EINTR) \
588                                    { \
589                                    YY_FATAL_ERROR( "input in flex scanner failed" ); \
590                                    break; \
591                                    } \
592                            errno=0; \
593                            clearerr(yyin); \
594                            } \
595                    }
596  #endif  #endif
597    
598  /* No semi-colon after return; correct usage is to write "yyterminate();" -  /* No semi-colon after return; correct usage is to write "yyterminate();" -
# Line 631  YY_DECL Line 644  YY_DECL
644  #line 29 "prefs.l"  #line 29 "prefs.l"
645    
646    
647  #line 635 "lex.prefs.cc"  #line 648 "lex.prefs.cc"
648    
649          if ( yy_init )          if ( yy_init )
650                  {                  {
# Line 804  YY_RULE_SETUP Line 817  YY_RULE_SETUP
817  #line 52 "prefs.l"  #line 52 "prefs.l"
818  ECHO;  ECHO;
819          YY_BREAK          YY_BREAK
820  #line 808 "lex.prefs.cc"  #line 821 "lex.prefs.cc"
821  case YY_STATE_EOF(INITIAL):  case YY_STATE_EOF(INITIAL):
822  case YY_STATE_EOF(text):  case YY_STATE_EOF(text):
823          yyterminate();          yyterminate();
# Line 1369  YY_BUFFER_STATE b; Line 1382  YY_BUFFER_STATE b;
1382          }          }
1383    
1384    
1385    #ifndef _WIN32
1386    #include <unistd.h>
1387    #else
1388  #ifndef YY_ALWAYS_INTERACTIVE  #ifndef YY_ALWAYS_INTERACTIVE
1389  #ifndef YY_NEVER_INTERACTIVE  #ifndef YY_NEVER_INTERACTIVE
1390  extern int isatty YY_PROTO(( int ));  extern int isatty YY_PROTO(( int ));
1391  #endif  #endif
1392  #endif  #endif
1393    #endif
1394    
1395  #ifdef YY_USE_PROTOS  #ifdef YY_USE_PROTOS
1396  void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )  void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26