-#line 3 "/home/Patrick/work/coreboot/util/sconfig/lex.yy.c_shipped"
+#line 3 "/home/svens/coreboot/coreboot-svn/util/sconfig/lex.yy.c_shipped"
#define YY_INT_ALIGNED short int
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
- * if you want the limit (max/min) macros for int types.
+ * if you want the limit (max/min) macros for int types.
*/
#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS 1
typedef signed char flex_int8_t;
typedef short int flex_int16_t;
typedef int flex_int32_t;
-typedef unsigned char flex_uint8_t;
+typedef unsigned char flex_uint8_t;
typedef unsigned short int flex_uint16_t;
typedef unsigned int flex_uint32_t;
-#endif /* ! C99 */
/* Limits of integral types. */
#ifndef INT8_MIN
#define UINT32_MAX (4294967295U)
#endif
+#endif /* ! C99 */
+
#endif /* ! FLEXINT_H */
#ifdef __cplusplus
/* Size of default input buffer. */
#ifndef YY_BUF_SIZE
+#ifdef __ia64__
+/* On IA-64, the buffer size is 16k, not 8k.
+ * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
+ * Ditto for the __ia64__ case accordingly.
+ */
+#define YY_BUF_SIZE 32768
+#else
#define YY_BUF_SIZE 16384
+#endif /* __ia64__ */
#endif
/* The state buf must be large enough to hold one state per character in the main buffer.
#define EOB_ACT_LAST_MATCH 2
#define YY_LESS_LINENO(n)
-
+
/* Return all but the first "n" matched characters back to the input stream. */
#define yyless(n) \
do \
int yy_bs_lineno; /**< The line count. */
int yy_bs_column; /**< The column count. */
-
+
/* Whether to try to fill the input buffer when we reach the
* end of it.
*/
*yy_cp = '\0'; \
(yy_c_buf_p) = yy_cp;
-#define YY_NUM_RULES 25
-#define YY_END_OF_BUFFER 26
+#define YY_NUM_RULES 27
+#define YY_END_OF_BUFFER 28
/* This struct is not used in this scanner,
but its presence is necessary. */
struct yy_trans_info
flex_int32_t yy_verify;
flex_int32_t yy_nxt;
};
-static yyconst flex_int16_t yy_accept[86] =
+static yyconst flex_int16_t yy_accept[104] =
{ 0,
- 0, 0, 26, 24, 1, 3, 24, 24, 24, 21,
- 21, 19, 22, 22, 22, 22, 22, 24, 24, 24,
- 24, 24, 1, 3, 24, 0, 24, 0, 2, 21,
- 22, 24, 24, 24, 22, 24, 24, 24, 17, 24,
- 24, 7, 24, 24, 24, 23, 23, 20, 24, 24,
- 24, 16, 18, 11, 15, 8, 9, 10, 24, 12,
- 4, 24, 24, 24, 24, 24, 24, 24, 24, 5,
- 24, 24, 24, 24, 24, 24, 24, 6, 24, 24,
- 24, 14, 24, 13, 0
+ 0, 0, 28, 26, 1, 3, 26, 26, 26, 23,
+ 23, 21, 24, 24, 24, 24, 26, 26, 26, 26,
+ 26, 26, 26, 1, 3, 26, 0, 26, 0, 2,
+ 23, 24, 26, 26, 24, 26, 26, 26, 26, 17,
+ 26, 26, 26, 7, 26, 26, 26, 26, 25, 25,
+ 22, 26, 26, 16, 20, 11, 26, 15, 26, 8,
+ 9, 10, 26, 26, 4, 26, 26, 26, 26, 26,
+ 26, 26, 26, 12, 26, 26, 26, 5, 26, 26,
+ 26, 26, 26, 18, 26, 26, 26, 26, 26, 26,
+ 6, 26, 26, 26, 26, 26, 14, 26, 26, 19,
+
+ 26, 13, 0
} ;
static yyconst flex_int32_t yy_ec[256] =
10, 1, 1, 1, 11, 11, 11, 11, 11, 11,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 12, 1, 13, 11, 14, 15,
+ 1, 1, 1, 1, 12, 1, 13, 14, 15, 16,
- 16, 17, 18, 19, 20, 1, 1, 21, 22, 23,
- 24, 25, 26, 27, 28, 29, 30, 31, 1, 32,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 17, 18, 19, 20, 21, 1, 1, 22, 23, 24,
+ 25, 26, 27, 28, 29, 30, 31, 32, 1, 33,
+ 34, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1
} ;
-static yyconst flex_int32_t yy_meta[33] =
+static yyconst flex_int32_t yy_meta[35] =
{ 0,
1, 2, 2, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1
+ 1, 1, 1, 1
} ;
-static yyconst flex_int16_t yy_base[91] =
+static yyconst flex_int16_t yy_base[109] =
{ 0,
- 0, 0, 146, 0, 143, 147, 141, 31, 35, 32,
- 111, 0, 43, 46, 49, 65, 52, 53, 46, 21,
- 126, 0, 139, 147, 62, 135, 76, 136, 147, 0,
- 75, 86, 118, 117, 78, 110, 120, 120, 0, 107,
- 115, 0, 111, 105, 111, 0, 147, 0, 114, 102,
- 106, 0, 0, 0, 0, 0, 113, 0, 104, 111,
- 0, 108, 106, 92, 105, 102, 84, 78, 85, 0,
- 83, 88, 68, 83, 64, 62, 69, 0, 59, 53,
- 54, 0, 39, 0, 147, 41, 109, 111, 113, 115
+ 0, 0, 164, 0, 161, 165, 159, 33, 37, 34,
+ 128, 0, 46, 49, 53, 56, 50, 147, 48, 22,
+ 142, 127, 0, 155, 165, 74, 151, 65, 152, 165,
+ 0, 75, 78, 133, 90, 126, 136, 136, 130, 0,
+ 122, 122, 129, 0, 125, 119, 125, 129, 0, 165,
+ 0, 116, 120, 0, 0, 0, 123, 0, 118, 0,
+ 126, 0, 116, 107, 0, 120, 106, 118, 116, 102,
+ 87, 103, 98, 106, 92, 86, 86, 0, 84, 98,
+ 89, 94, 80, 0, 87, 95, 79, 89, 74, 83,
+ 0, 80, 73, 77, 79, 60, 0, 72, 56, 0,
+
+ 43, 0, 165, 43, 122, 124, 126, 128
} ;
-static yyconst flex_int16_t yy_def[91] =
+static yyconst flex_int16_t yy_def[109] =
{ 0,
- 85, 1, 85, 86, 85, 85, 86, 87, 88, 86,
- 10, 86, 10, 10, 10, 10, 10, 86, 86, 86,
- 86, 86, 85, 85, 87, 89, 88, 90, 85, 10,
- 10, 10, 86, 86, 10, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 85, 32, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 0, 85, 85, 85, 85, 85
+ 103, 1, 103, 104, 103, 103, 104, 105, 106, 104,
+ 10, 104, 10, 10, 10, 10, 104, 104, 104, 104,
+ 104, 104, 104, 103, 103, 105, 107, 106, 108, 103,
+ 10, 10, 10, 104, 10, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 103,
+ 33, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+
+ 104, 104, 0, 103, 103, 103, 103, 103
} ;
-static yyconst flex_int16_t yy_nxt[180] =
+static yyconst flex_int16_t yy_nxt[200] =
{ 0,
4, 5, 6, 7, 8, 9, 10, 11, 10, 12,
- 13, 4, 14, 15, 16, 17, 13, 4, 4, 18,
- 4, 4, 4, 19, 20, 4, 21, 4, 4, 4,
- 4, 4, 26, 26, 43, 22, 28, 29, 30, 30,
- 30, 22, 31, 44, 31, 31, 31, 31, 31, 31,
- 31, 31, 31, 31, 31, 31, 31, 31, 31, 31,
- 31, 38, 41, 26, 26, 84, 46, 34, 42, 83,
- 33, 31, 31, 31, 37, 82, 39, 28, 29, 40,
- 35, 31, 31, 31, 31, 31, 31, 81, 80, 79,
- 78, 36, 48, 48, 48, 77, 48, 76, 48, 48,
-
- 48, 48, 48, 75, 74, 73, 72, 71, 51, 25,
- 25, 27, 27, 26, 26, 28, 28, 70, 69, 68,
- 67, 66, 65, 64, 63, 62, 61, 60, 59, 58,
- 57, 56, 55, 54, 53, 52, 50, 49, 29, 47,
- 23, 45, 32, 24, 23, 85, 3, 85, 85, 85,
- 85, 85, 85, 85, 85, 85, 85, 85, 85, 85,
- 85, 85, 85, 85, 85, 85, 85, 85, 85, 85,
- 85, 85, 85, 85, 85, 85, 85, 85, 85
+ 13, 4, 13, 13, 14, 15, 16, 13, 4, 4,
+ 17, 18, 4, 4, 19, 20, 4, 21, 22, 4,
+ 4, 4, 4, 4, 27, 27, 45, 23, 29, 30,
+ 31, 31, 31, 23, 32, 46, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 38, 32,
+ 32, 32, 32, 32, 32, 43, 29, 30, 34, 35,
+ 102, 44, 101, 39, 40, 27, 27, 41, 49, 37,
+ 36, 32, 32, 32, 51, 51, 51, 100, 51, 99,
+ 51, 51, 51, 51, 51, 51, 32, 32, 32, 98,
+
+ 97, 96, 95, 94, 93, 92, 91, 90, 89, 88,
+ 87, 86, 85, 84, 83, 82, 81, 80, 79, 78,
+ 77, 53, 26, 26, 28, 28, 27, 27, 29, 29,
+ 76, 75, 74, 73, 72, 71, 70, 69, 68, 67,
+ 66, 65, 64, 63, 62, 61, 60, 59, 58, 57,
+ 56, 55, 54, 52, 30, 50, 24, 48, 47, 42,
+ 33, 25, 24, 103, 3, 103, 103, 103, 103, 103,
+ 103, 103, 103, 103, 103, 103, 103, 103, 103, 103,
+ 103, 103, 103, 103, 103, 103, 103, 103, 103, 103,
+ 103, 103, 103, 103, 103, 103, 103, 103, 103
+
} ;
-static yyconst flex_int16_t yy_chk[180] =
+static yyconst flex_int16_t yy_chk[200] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 8, 8, 20, 8, 9, 9, 10, 10,
- 10, 86, 10, 20, 10, 10, 10, 10, 10, 13,
- 13, 13, 14, 14, 14, 15, 15, 15, 17, 17,
- 17, 18, 19, 25, 25, 83, 25, 15, 19, 81,
- 14, 16, 16, 16, 17, 80, 18, 27, 27, 18,
- 16, 31, 31, 31, 35, 35, 35, 79, 77, 76,
- 75, 16, 32, 32, 32, 74, 32, 73, 32, 32,
-
- 32, 32, 32, 72, 71, 69, 68, 67, 35, 87,
- 87, 88, 88, 89, 89, 90, 90, 66, 65, 64,
- 63, 62, 60, 59, 57, 51, 50, 49, 45, 44,
- 43, 41, 40, 38, 37, 36, 34, 33, 28, 26,
- 23, 21, 11, 7, 5, 3, 85, 85, 85, 85,
- 85, 85, 85, 85, 85, 85, 85, 85, 85, 85,
- 85, 85, 85, 85, 85, 85, 85, 85, 85, 85,
- 85, 85, 85, 85, 85, 85, 85, 85, 85
+ 1, 1, 1, 1, 8, 8, 20, 8, 9, 9,
+ 10, 10, 10, 104, 10, 20, 10, 10, 10, 10,
+ 10, 10, 13, 13, 13, 14, 14, 14, 17, 15,
+ 15, 15, 16, 16, 16, 19, 28, 28, 14, 15,
+ 101, 19, 99, 17, 17, 26, 26, 17, 26, 16,
+ 15, 32, 32, 32, 33, 33, 33, 98, 33, 96,
+ 33, 33, 33, 33, 33, 33, 35, 35, 35, 95,
+
+ 94, 93, 92, 90, 89, 88, 87, 86, 85, 83,
+ 82, 81, 80, 79, 77, 76, 75, 74, 73, 72,
+ 71, 35, 105, 105, 106, 106, 107, 107, 108, 108,
+ 70, 69, 68, 67, 66, 64, 63, 61, 59, 57,
+ 53, 52, 48, 47, 46, 45, 43, 42, 41, 39,
+ 38, 37, 36, 34, 29, 27, 24, 22, 21, 18,
+ 11, 7, 5, 3, 103, 103, 103, 103, 103, 103,
+ 103, 103, 103, 103, 103, 103, 103, 103, 103, 103,
+ 103, 103, 103, 103, 103, 103, 103, 103, 103, 103,
+ 103, 103, 103, 103, 103, 103, 103, 103, 103
+
} ;
static yy_state_type yy_last_accepting_state;
#endif
static void yyunput (int c,char *buf_ptr );
-
+
#ifndef yytext_ptr
static void yy_flex_strncpy (char *,yyconst char *,int );
#endif
/* Amount of stuff to slurp up with each read. */
#ifndef YY_READ_BUF_SIZE
+#ifdef __ia64__
+/* On IA-64, the buffer size is 16k, not 8k */
+#define YY_READ_BUF_SIZE 16384
+#else
#define YY_READ_BUF_SIZE 8192
+#endif /* __ia64__ */
#endif
/* Copy whatever the last rule matched to the standard output. */
/* This used to be an fputs(), but since the string might contain NUL's,
* we now use fwrite().
*/
-#define ECHO fwrite( yytext, yyleng, 1, yyout )
+#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
#endif
/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
{ \
int c = '*'; \
- int n; \
+ size_t n; \
for ( n = 0; n < max_size && \
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
buf[n] = (char) c; \
register yy_state_type yy_current_state;
register char *yy_cp, *yy_bp;
register int yy_act;
-
+
if ( !(yy_init) )
{
(yy_init) = 1;
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 86 )
+ if ( yy_current_state >= 104 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
++yy_cp;
}
- while ( yy_base[yy_current_state] != 147 );
+ while ( yy_base[yy_current_state] != 165 );
yy_find_action:
yy_act = yy_accept[yy_current_state];
YY_BREAK
case 18:
YY_RULE_SETUP
-{return(END);}
+{return(INHERIT);}
YY_BREAK
case 19:
YY_RULE_SETUP
-{return(EQUALS);}
+{return(SUBSYSTEMID);}
YY_BREAK
case 20:
YY_RULE_SETUP
-{yylval.string = malloc(yyleng+1); strncpy(yylval.string, yytext, yyleng); yylval.string[yyleng]='\0'; return(NUMBER);}
+{return(END);}
YY_BREAK
case 21:
YY_RULE_SETUP
-{yylval.string = malloc(yyleng+1); strncpy(yylval.string, yytext, yyleng); yylval.string[yyleng]='\0'; return(NUMBER);}
+{return(EQUALS);}
YY_BREAK
case 22:
YY_RULE_SETUP
{yylval.string = malloc(yyleng+1); strncpy(yylval.string, yytext, yyleng); yylval.string[yyleng]='\0'; return(NUMBER);}
YY_BREAK
case 23:
-/* rule 23 can match eol */
YY_RULE_SETUP
-{yylval.string = malloc(yyleng-1); strncpy(yylval.string, yytext+1, yyleng-2); yylval.string[yyleng-2]='\0'; return(STRING);}
+{yylval.string = malloc(yyleng+1); strncpy(yylval.string, yytext, yyleng); yylval.string[yyleng]='\0'; return(NUMBER);}
YY_BREAK
case 24:
YY_RULE_SETUP
-{yylval.string = malloc(yyleng+1); strncpy(yylval.string, yytext, yyleng); yylval.string[yyleng]='\0'; return(STRING);}
+{yylval.string = malloc(yyleng+1); strncpy(yylval.string, yytext, yyleng); yylval.string[yyleng]='\0'; return(NUMBER);}
YY_BREAK
case 25:
+/* rule 25 can match eol */
+YY_RULE_SETUP
+{yylval.string = malloc(yyleng-1); strncpy(yylval.string, yytext+1, yyleng-2); yylval.string[yyleng-2]='\0'; return(STRING);}
+ YY_BREAK
+case 26:
+YY_RULE_SETUP
+{yylval.string = malloc(yyleng+1); strncpy(yylval.string, yytext, yyleng); yylval.string[yyleng]='\0'; return(STRING);}
+ YY_BREAK
+case 27:
YY_RULE_SETUP
ECHO;
YY_BREAK
{
register yy_state_type yy_current_state;
register char *yy_cp;
-
+
yy_current_state = (yy_start);
for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 86 )
+ if ( yy_current_state >= 104 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 86 )
+ if ( yy_current_state >= 104 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
- yy_is_jam = (yy_current_state == 85);
+ yy_is_jam = (yy_current_state == 103);
return yy_is_jam ? 0 : yy_current_state;
}
static void yyunput (int c, register char * yy_bp )
{
register char *yy_cp;
-
+
yy_cp = (yy_c_buf_p);
/* undo effects of setting up yytext */
{
int c;
-
+
*(yy_c_buf_p) = (yy_hold_char);
if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
/** Immediately switch to a different input stream.
* @param input_file A readable stream.
- *
+ *
* @note This function does not reset the start condition to @c INITIAL .
*/
void yyrestart (FILE * input_file )
{
-
+
if ( ! YY_CURRENT_BUFFER ){
yyensure_buffer_stack ();
YY_CURRENT_BUFFER_LVALUE =
/** Switch to a different input buffer.
* @param new_buffer The new input buffer.
- *
+ *
*/
void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
{
-
+
/* TODO. We should be able to replace this entire function body
* with
* yypop_buffer_state();
/** Allocate and initialize an input buffer state.
* @param file A readable stream.
* @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
- *
+ *
* @return the allocated buffer state.
*/
YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
{
YY_BUFFER_STATE b;
-
+
b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
if ( ! b )
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
/** Destroy the buffer.
* @param b a buffer created with yy_create_buffer()
- *
+ *
*/
void yy_delete_buffer (YY_BUFFER_STATE b )
{
-
+
if ( ! b )
return;
#ifndef __cplusplus
extern int isatty (int );
#endif /* __cplusplus */
-
+
/* Initializes or reinitializes a buffer.
* This function is sometimes called more than once on the same buffer,
* such as during a yyrestart() or at EOF.
{
int oerrno = errno;
-
+
yy_flush_buffer(b );
b->yy_input_file = file;
}
b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
-
+
errno = oerrno;
}
/** Discard all buffered characters. On the next scan, YY_INPUT will be called.
* @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
- *
+ *
*/
void yy_flush_buffer (YY_BUFFER_STATE b )
{
* the current state. This function will allocate the stack
* if necessary.
* @param new_buffer The new state.
- *
+ *
*/
void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
{
/** Removes and deletes the top of the stack, if present.
* The next element becomes the new top.
- *
+ *
*/
void yypop_buffer_state (void)
{
static void yyensure_buffer_stack (void)
{
int num_to_alloc;
-
+
if (!(yy_buffer_stack)) {
/* First allocation is just for 2 elements, since we don't know if this
);
if ( ! (yy_buffer_stack) )
YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
-
+
memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
-
+
(yy_buffer_stack_max) = num_to_alloc;
(yy_buffer_stack_top) = 0;
return;
/** Setup the input buffer state to scan directly from a user-specified character buffer.
* @param base the character buffer
* @param size the size in bytes of the character buffer
- *
- * @return the newly allocated buffer state object.
+ *
+ * @return the newly allocated buffer state object.
*/
YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
{
YY_BUFFER_STATE b;
-
+
if ( size < 2 ||
base[size-2] != YY_END_OF_BUFFER_CHAR ||
base[size-1] != YY_END_OF_BUFFER_CHAR )
/** Setup the input buffer state to scan a string. The next call to yylex() will
* scan from a @e copy of @a str.
* @param yystr a NUL-terminated string to scan
- *
+ *
* @return the newly allocated buffer state object.
* @note If you want to scan bytes that may contain NUL values, then use
* yy_scan_bytes() instead.
*/
YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
{
-
+
return yy_scan_bytes(yystr,strlen(yystr) );
}
/** Setup the input buffer state to scan the given bytes. The next call to yylex() will
* scan from a @e copy of @a bytes.
- * @param bytes the byte buffer to scan
- * @param len the number of bytes in the buffer pointed to by @a bytes.
- *
+ * @param yybytes the byte buffer to scan
+ * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
+ *
* @return the newly allocated buffer state object.
*/
YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len )
char *buf;
yy_size_t n;
int i;
-
+
/* Get memory for full buffer, including space for trailing EOB's. */
n = _yybytes_len + 2;
buf = (char *) yyalloc(n );
/* Accessor methods (get/set functions) to struct members. */
/** Get the current line number.
- *
+ *
*/
int yyget_lineno (void)
{
-
+
return yylineno;
}
/** Get the input stream.
- *
+ *
*/
FILE *yyget_in (void)
{
}
/** Get the output stream.
- *
+ *
*/
FILE *yyget_out (void)
{
}
/** Get the length of the current token.
- *
+ *
*/
int yyget_leng (void)
{
}
/** Get the current token.
- *
+ *
*/
char *yyget_text (void)
/** Set the current line number.
* @param line_number
- *
+ *
*/
void yyset_lineno (int line_number )
{
-
+
yylineno = line_number;
}
/** Set the input stream. This does not discard the current
* input buffer.
* @param in_str A readable stream.
- *
+ *
* @see yy_switch_to_buffer
*/
void yyset_in (FILE * in_str )
/* yylex_destroy is for both reentrant and non-reentrant scanners. */
int yylex_destroy (void)
{
-
+
/* Pop the buffer stack, destroying each element. */
while(YY_CURRENT_BUFFER){
yy_delete_buffer(YY_CURRENT_BUFFER );