Lines 54-59
typedef int flex_int32_t;
Link Here
|
54 |
typedef unsigned char flex_uint8_t; |
54 |
typedef unsigned char flex_uint8_t; |
55 |
typedef unsigned short int flex_uint16_t; |
55 |
typedef unsigned short int flex_uint16_t; |
56 |
typedef unsigned int flex_uint32_t; |
56 |
typedef unsigned int flex_uint32_t; |
|
|
57 |
#endif /* ! C99 */ |
57 |
|
58 |
|
58 |
/* Limits of integral types. */ |
59 |
/* Limits of integral types. */ |
59 |
#ifndef INT8_MIN |
60 |
#ifndef INT8_MIN |
Lines 84-91
typedef unsigned int flex_uint32_t;
Link Here
|
84 |
#define UINT32_MAX (4294967295U) |
85 |
#define UINT32_MAX (4294967295U) |
85 |
#endif |
86 |
#endif |
86 |
|
87 |
|
87 |
#endif /* ! C99 */ |
|
|
88 |
|
89 |
#endif /* ! FLEXINT_H */ |
88 |
#endif /* ! FLEXINT_H */ |
90 |
|
89 |
|
91 |
#ifdef __cplusplus |
90 |
#ifdef __cplusplus |
Lines 159-173
typedef void* yyscan_t;
Link Here
|
159 |
|
158 |
|
160 |
/* Size of default input buffer. */ |
159 |
/* Size of default input buffer. */ |
161 |
#ifndef YY_BUF_SIZE |
160 |
#ifndef YY_BUF_SIZE |
162 |
#ifdef __ia64__ |
|
|
163 |
/* On IA-64, the buffer size is 16k, not 8k. |
164 |
* Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. |
165 |
* Ditto for the __ia64__ case accordingly. |
166 |
*/ |
167 |
#define YY_BUF_SIZE 32768 |
168 |
#else |
169 |
#define YY_BUF_SIZE 16384 |
161 |
#define YY_BUF_SIZE 16384 |
170 |
#endif /* __ia64__ */ |
|
|
171 |
#endif |
162 |
#endif |
172 |
|
163 |
|
173 |
/* The state buf must be large enough to hold one state per character in the main buffer. |
164 |
/* The state buf must be large enough to hold one state per character in the main buffer. |
Lines 611-617
static yyconst flex_int16_t yy_chk[319] =
Link Here
|
611 |
PERROR("String too long"); \ |
602 |
PERROR("String too long"); \ |
612 |
} while (0) |
603 |
} while (0) |
613 |
|
604 |
|
614 |
#line 615 "util_expr_scan.c" |
605 |
#line 606 "util_expr_scan.c" |
615 |
|
606 |
|
616 |
#define INITIAL 0 |
607 |
#define INITIAL 0 |
617 |
#define str 1 |
608 |
#define str 1 |
Lines 747-758
static int input (yyscan_t yyscanner );
Link Here
|
747 |
|
738 |
|
748 |
/* Amount of stuff to slurp up with each read. */ |
739 |
/* Amount of stuff to slurp up with each read. */ |
749 |
#ifndef YY_READ_BUF_SIZE |
740 |
#ifndef YY_READ_BUF_SIZE |
750 |
#ifdef __ia64__ |
|
|
751 |
/* On IA-64, the buffer size is 16k, not 8k */ |
752 |
#define YY_READ_BUF_SIZE 16384 |
753 |
#else |
754 |
#define YY_READ_BUF_SIZE 8192 |
741 |
#define YY_READ_BUF_SIZE 8192 |
755 |
#endif /* __ia64__ */ |
|
|
756 |
#endif |
742 |
#endif |
757 |
|
743 |
|
758 |
/* Copy whatever the last rule matched to the standard output. */ |
744 |
/* Copy whatever the last rule matched to the standard output. */ |
Lines 760-766
static int input (yyscan_t yyscanner );
Link Here
|
760 |
/* This used to be an fputs(), but since the string might contain NUL's, |
746 |
/* This used to be an fputs(), but since the string might contain NUL's, |
761 |
* we now use fwrite(). |
747 |
* we now use fwrite(). |
762 |
*/ |
748 |
*/ |
763 |
#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) |
749 |
#define ECHO fwrite( yytext, yyleng, 1, yyout ) |
764 |
#endif |
750 |
#endif |
765 |
|
751 |
|
766 |
/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, |
752 |
/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, |
Lines 771-777
static int input (yyscan_t yyscanner );
Link Here
|
771 |
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ |
757 |
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ |
772 |
{ \ |
758 |
{ \ |
773 |
int c = '*'; \ |
759 |
int c = '*'; \ |
774 |
size_t n; \ |
760 |
int n; \ |
775 |
for ( n = 0; n < max_size && \ |
761 |
for ( n = 0; n < max_size && \ |
776 |
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \ |
762 |
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \ |
777 |
buf[n] = (char) c; \ |
763 |
buf[n] = (char) c; \ |
Lines 882-888
YY_DECL
Link Here
|
882 |
/* |
868 |
/* |
883 |
* Whitespaces |
869 |
* Whitespaces |
884 |
*/ |
870 |
*/ |
885 |
#line 886 "util_expr_scan.c" |
871 |
#line 872 "util_expr_scan.c" |
886 |
|
872 |
|
887 |
yylval = yylval_param; |
873 |
yylval = yylval_param; |
888 |
|
874 |
|
Lines 1519-1525
YY_RULE_SETUP
Link Here
|
1519 |
#line 398 "util_expr_scan.l" |
1505 |
#line 398 "util_expr_scan.l" |
1520 |
YY_FATAL_ERROR( "flex scanner jammed" ); |
1506 |
YY_FATAL_ERROR( "flex scanner jammed" ); |
1521 |
YY_BREAK |
1507 |
YY_BREAK |
1522 |
#line 1523 "util_expr_scan.c" |
1508 |
#line 1509 "util_expr_scan.c" |
1523 |
case YY_STATE_EOF(INITIAL): |
1509 |
case YY_STATE_EOF(INITIAL): |
1524 |
case YY_STATE_EOF(regex): |
1510 |
case YY_STATE_EOF(regex): |
1525 |
yyterminate(); |
1511 |
yyterminate(); |
Lines 2251-2258
YY_BUFFER_STATE ap_expr_yy_scan_string (yyconst ch
Link Here
|
2251 |
|
2237 |
|
2252 |
/** Setup the input buffer state to scan the given bytes. The next call to ap_expr_yylex() will |
2238 |
/** Setup the input buffer state to scan the given bytes. The next call to ap_expr_yylex() will |
2253 |
* scan from a @e copy of @a bytes. |
2239 |
* scan from a @e copy of @a bytes. |
2254 |
* @param yybytes the byte buffer to scan |
2240 |
* @param bytes the byte buffer to scan |
2255 |
* @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. |
2241 |
* @param len the number of bytes in the buffer pointed to by @a bytes. |
2256 |
* @param yyscanner The scanner object. |
2242 |
* @param yyscanner The scanner object. |
2257 |
* @return the newly allocated buffer state object. |
2243 |
* @return the newly allocated buffer state object. |
2258 |
*/ |
2244 |
*/ |