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 |
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 |
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. |
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();" - |
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 |
{ |
{ |
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(); |
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 ) |