summaryrefslogtreecommitdiff
path: root/gcc/gengtype-lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gengtype-lex.c')
-rw-r--r--gcc/gengtype-lex.c177
1 files changed, 88 insertions, 89 deletions
diff --git a/gcc/gengtype-lex.c b/gcc/gengtype-lex.c
index 38ca34850d..21afe60b33 100644
--- a/gcc/gengtype-lex.c
+++ b/gcc/gengtype-lex.c
@@ -10,7 +10,7 @@
#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 5
-#define YY_FLEX_SUBMINOR_VERSION 37
+#define YY_FLEX_SUBMINOR_VERSION 35
#if YY_FLEX_SUBMINOR_VERSION > 0
#define FLEX_BETA
#endif
@@ -55,6 +55,7 @@ typedef int flex_int32_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
@@ -85,8 +86,6 @@ typedef unsigned int flex_uint32_t;
#define UINT32_MAX (4294967295U)
#endif
-#endif /* ! C99 */
-
#endif /* ! FLEXINT_H */
#ifdef __cplusplus
@@ -155,12 +154,7 @@ typedef unsigned int flex_uint32_t;
typedef struct yy_buffer_state *YY_BUFFER_STATE;
#endif
-#ifndef YY_TYPEDEF_YY_SIZE_T
-#define YY_TYPEDEF_YY_SIZE_T
-typedef size_t yy_size_t;
-#endif
-
-extern yy_size_t yyleng;
+extern int yyleng;
extern FILE *yyin, *yyout;
@@ -186,6 +180,11 @@ extern FILE *yyin, *yyout;
#define unput(c) yyunput( c, (yytext_ptr) )
+#ifndef YY_TYPEDEF_YY_SIZE_T
+#define YY_TYPEDEF_YY_SIZE_T
+typedef size_t yy_size_t;
+#endif
+
#ifndef YY_STRUCT_YY_BUFFER_STATE
#define YY_STRUCT_YY_BUFFER_STATE
struct yy_buffer_state
@@ -203,7 +202,7 @@ struct yy_buffer_state
/* Number of characters read into yy_ch_buf, not including EOB
* characters.
*/
- yy_size_t yy_n_chars;
+ int yy_n_chars;
/* Whether we "own" the buffer - i.e., we know we created it,
* and can realloc() it to grow it, and should free() it to
@@ -273,8 +272,8 @@ static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
/* yy_hold_char holds the character lost when yytext is formed. */
static char yy_hold_char;
-static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */
-yy_size_t yyleng;
+static int yy_n_chars; /* number of characters read into yy_ch_buf */
+int yyleng;
/* Points to current character in buffer. */
static char *yy_c_buf_p = (char *) 0;
@@ -302,7 +301,7 @@ static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
-YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );
+YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len );
void *yyalloc (yy_size_t );
void *yyrealloc (void *,yy_size_t );
@@ -334,7 +333,7 @@ void yyfree (void * );
/* Begin user sect3 */
-#define yywrap() 1
+#define yywrap(n) 1
#define YY_SKIP_YYWRAP
typedef unsigned char YY_CHAR;
@@ -1188,7 +1187,7 @@ int yy_flex_debug = 0;
#define YY_MORE_ADJ 0
#define YY_RESTORE_YY_MORE_OFFSET
char *yytext;
-#line 1 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 1 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
/* -*- indented-text -*- */
/* Process source files and output type information.
Copyright (C) 2002-2016 Free Software Foundation, Inc.
@@ -1209,7 +1208,7 @@ You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
#define YY_NO_INPUT 1
-#line 24 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 24 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
#ifdef HOST_GENERATOR_FILE
#include "config.h"
#define GENERATOR_FILE 1
@@ -1239,7 +1238,7 @@ update_lineno (const char *l, size_t len)
/* Include '::' in identifiers to capture C++ scope qualifiers. */
-#line 1242 "gengtype-lex.c"
+#line 1241 "gengtype-lex.c"
#define INITIAL 0
#define in_struct 1
@@ -1281,7 +1280,7 @@ FILE *yyget_out (void );
void yyset_out (FILE * out_str );
-yy_size_t yyget_leng (void );
+int yyget_leng (void );
char *yyget_text (void );
@@ -1329,7 +1328,7 @@ static int input (void );
/* This used to be an fputs(), but since the string might contain NUL's,
* we now use fwrite().
*/
-#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
+#define ECHO fwrite( yytext, yyleng, 1, yyout )
#endif
/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
@@ -1340,7 +1339,7 @@ static int input (void );
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
{ \
int c = '*'; \
- size_t n; \
+ int n; \
for ( n = 0; n < max_size && \
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
buf[n] = (char) c; \
@@ -1425,7 +1424,7 @@ YY_DECL
register char *yy_cp, *yy_bp;
register int yy_act;
-#line 66 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 66 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
/* Do this on entry to yylex(): */
*yylval = 0;
@@ -1436,7 +1435,7 @@ YY_DECL
}
/* Things we look for in skipping mode: */
-#line 1439 "gengtype-lex.c"
+#line 1438 "gengtype-lex.c"
if ( !(yy_init) )
{
@@ -1522,7 +1521,7 @@ case 1:
(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 77 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 77 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{
BEGIN(in_struct);
return TYPEDEF;
@@ -1534,7 +1533,7 @@ case 2:
(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 81 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 81 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{
BEGIN(in_struct);
return STRUCT;
@@ -1546,7 +1545,7 @@ case 3:
(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 85 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 85 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{
BEGIN(in_struct);
return UNION;
@@ -1558,7 +1557,7 @@ case 4:
(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 89 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 89 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{
BEGIN(in_struct);
return STRUCT;
@@ -1570,7 +1569,7 @@ case 5:
(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 93 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 93 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{
BEGIN(in_struct);
return EXTERN;
@@ -1582,7 +1581,7 @@ case 6:
(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 97 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 97 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{
BEGIN(in_struct);
return STATIC;
@@ -1593,25 +1592,25 @@ YY_RULE_SETUP
case 7:
YY_RULE_SETUP
-#line 105 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 105 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{ BEGIN(in_struct_comment); }
YY_BREAK
case 8:
/* rule 8 can match eol */
YY_RULE_SETUP
-#line 106 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 106 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{ lexer_line.line++; }
YY_BREAK
case 9:
/* rule 9 can match eol */
YY_RULE_SETUP
-#line 108 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 108 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{ update_lineno (yytext, yyleng); }
YY_BREAK
case 10:
/* rule 10 can match eol */
YY_RULE_SETUP
-#line 109 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 109 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{ lexer_line.line++; }
YY_BREAK
case 11:
@@ -1620,7 +1619,7 @@ case 11:
(yy_c_buf_p) = yy_cp = yy_bp + 5;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 111 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 111 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
/* don't care */
YY_BREAK
case 12:
@@ -1628,17 +1627,17 @@ case 12:
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
-#line 113 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 113 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
case 13:
/* rule 13 can match eol */
-#line 114 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 114 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
case 14:
/* rule 14 can match eol */
-#line 115 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 115 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
case 15:
/* rule 15 can match eol */
YY_RULE_SETUP
-#line 115 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 115 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{
*yylval = XDUPVAR (const char, yytext, yyleng, yyleng + 1);
return IGNORABLE_CXX_KEYWORD;
@@ -1650,7 +1649,7 @@ case 16:
(yy_c_buf_p) = yy_cp = yy_bp + 3;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 119 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 119 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{ return GTY_TOKEN; }
YY_BREAK
case 17:
@@ -1659,7 +1658,7 @@ case 17:
(yy_c_buf_p) = yy_cp = yy_bp + 5;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 120 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 120 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{ return UNION; }
YY_BREAK
case 18:
@@ -1668,7 +1667,7 @@ case 18:
(yy_c_buf_p) = yy_cp = yy_bp + 6;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 121 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 121 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{ return STRUCT; }
YY_BREAK
case 19:
@@ -1677,7 +1676,7 @@ case 19:
(yy_c_buf_p) = yy_cp = yy_bp + 5;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 122 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 122 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{ return STRUCT; }
YY_BREAK
case 20:
@@ -1686,7 +1685,7 @@ case 20:
(yy_c_buf_p) = yy_cp = yy_bp + 7;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 123 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 123 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{ return TYPEDEF; }
YY_BREAK
case 21:
@@ -1695,7 +1694,7 @@ case 21:
(yy_c_buf_p) = yy_cp = yy_bp + 4;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 124 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 124 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{ return ENUM; }
YY_BREAK
case 22:
@@ -1704,7 +1703,7 @@ case 22:
(yy_c_buf_p) = yy_cp = yy_bp + 9;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 125 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 125 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{ return PTR_ALIAS; }
YY_BREAK
case 23:
@@ -1713,7 +1712,7 @@ case 23:
(yy_c_buf_p) = yy_cp = yy_bp + 10;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 126 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 126 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{ return NESTED_PTR; }
YY_BREAK
case 24:
@@ -1722,12 +1721,12 @@ case 24:
(yy_c_buf_p) = yy_cp = yy_bp + 4;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 127 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 127 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{ return USER_GTY; }
YY_BREAK
case 25:
YY_RULE_SETUP
-#line 128 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 128 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{ return NUM; }
YY_BREAK
case 26:
@@ -1735,11 +1734,11 @@ case 26:
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
-#line 131 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 131 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
case 27:
/* rule 27 can match eol */
YY_RULE_SETUP
-#line 131 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 131 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{
size_t len;
@@ -1757,7 +1756,7 @@ case 28:
(yy_c_buf_p) = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 142 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 142 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{
*yylval = XDUPVAR (const char, yytext, yyleng, yyleng+1);
return ID;
@@ -1766,7 +1765,7 @@ YY_RULE_SETUP
case 29:
/* rule 29 can match eol */
YY_RULE_SETUP
-#line 147 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 147 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{
*yylval = XDUPVAR (const char, yytext+1, yyleng-2, yyleng-1);
return STRING;
@@ -1776,7 +1775,7 @@ YY_RULE_SETUP
case 30:
/* rule 30 can match eol */
YY_RULE_SETUP
-#line 152 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 152 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{
*yylval = XDUPVAR (const char, yytext+1, yyleng-2, yyleng-1);
return ARRAY;
@@ -1785,7 +1784,7 @@ YY_RULE_SETUP
case 31:
/* rule 31 can match eol */
YY_RULE_SETUP
-#line 156 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 156 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{
*yylval = XDUPVAR (const char, yytext+1, yyleng-2, yyleng);
return CHAR;
@@ -1793,24 +1792,24 @@ YY_RULE_SETUP
YY_BREAK
case 32:
YY_RULE_SETUP
-#line 161 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 161 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{ return ELLIPSIS; }
YY_BREAK
case 33:
YY_RULE_SETUP
-#line 162 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 162 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{ return yytext[0]; }
YY_BREAK
/* ignore pp-directives */
case 34:
/* rule 34 can match eol */
YY_RULE_SETUP
-#line 165 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 165 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{lexer_line.line++;}
YY_BREAK
case 35:
YY_RULE_SETUP
-#line 167 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 167 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{
error_at_line (&lexer_line, "unexpected character `%s'", yytext);
}
@@ -1818,36 +1817,36 @@ YY_RULE_SETUP
case 36:
YY_RULE_SETUP
-#line 172 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 172 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{ BEGIN(in_comment); }
YY_BREAK
case 37:
/* rule 37 can match eol */
YY_RULE_SETUP
-#line 173 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 173 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{ lexer_line.line++; }
YY_BREAK
case 38:
/* rule 38 can match eol */
YY_RULE_SETUP
-#line 174 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 174 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{ lexer_line.line++; }
YY_BREAK
case 39:
-#line 176 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 176 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
case 40:
/* rule 40 can match eol */
-#line 177 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 177 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
case 41:
/* rule 41 can match eol */
YY_RULE_SETUP
-#line 177 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 177 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
/* do nothing */
YY_BREAK
case 42:
/* rule 42 can match eol */
YY_RULE_SETUP
-#line 178 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 178 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{ update_lineno (yytext, yyleng); }
YY_BREAK
case 43:
@@ -1856,21 +1855,21 @@ case 43:
(yy_c_buf_p) = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 179 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 179 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
/* do nothing */
YY_BREAK
case 44:
/* rule 44 can match eol */
YY_RULE_SETUP
-#line 182 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 182 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{ lexer_line.line++; }
YY_BREAK
case 45:
-#line 184 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 184 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
case 46:
YY_RULE_SETUP
-#line 184 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 184 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
/* do nothing */
YY_BREAK
case 47:
@@ -1879,25 +1878,25 @@ case 47:
(yy_c_buf_p) = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 185 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 185 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
/* do nothing */
YY_BREAK
case 48:
YY_RULE_SETUP
-#line 188 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 188 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{ BEGIN(INITIAL); }
YY_BREAK
case 49:
YY_RULE_SETUP
-#line 189 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 189 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{ BEGIN(in_struct); }
YY_BREAK
case 50:
-#line 192 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 192 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
case 51:
YY_RULE_SETUP
-#line 192 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 192 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
{
error_at_line (&lexer_line,
"unterminated comment or string; unexpected EOF");
@@ -1906,15 +1905,15 @@ YY_RULE_SETUP
case 52:
/* rule 52 can match eol */
YY_RULE_SETUP
-#line 197 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 197 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
/* do nothing */
YY_BREAK
case 53:
YY_RULE_SETUP
-#line 199 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 199 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"
YY_FATAL_ERROR( "flex scanner jammed" );
YY_BREAK
-#line 1917 "gengtype-lex.c"
+#line 1916 "gengtype-lex.c"
case YY_STATE_EOF(INITIAL):
case YY_STATE_EOF(in_struct):
case YY_STATE_EOF(in_struct_comment):
@@ -2104,21 +2103,21 @@ static int yy_get_next_buffer (void)
else
{
- yy_size_t num_to_read =
+ int num_to_read =
YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
while ( num_to_read <= 0 )
{ /* Not enough room in the buffer - grow it. */
/* just a shorter name for the current buffer */
- YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE;
+ YY_BUFFER_STATE b = YY_CURRENT_BUFFER;
int yy_c_buf_p_offset =
(int) ((yy_c_buf_p) - b->yy_ch_buf);
if ( b->yy_is_our_buffer )
{
- yy_size_t new_size = b->yy_buf_size * 2;
+ int new_size = b->yy_buf_size * 2;
if ( new_size <= 0 )
b->yy_buf_size += b->yy_buf_size / 8;
@@ -2149,7 +2148,7 @@ static int yy_get_next_buffer (void)
/* Read in more data. */
YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
- (yy_n_chars), num_to_read );
+ (yy_n_chars), (size_t) num_to_read );
YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
}
@@ -2245,7 +2244,7 @@ static int yy_get_next_buffer (void)
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
yy_is_jam = (yy_current_state == 560);
- return yy_is_jam ? 0 : yy_current_state;
+ return yy_is_jam ? 0 : yy_current_state;
}
#ifndef YY_NO_INPUT
@@ -2272,7 +2271,7 @@ static int yy_get_next_buffer (void)
else
{ /* need more input */
- yy_size_t offset = (yy_c_buf_p) - (yytext_ptr);
+ int offset = (yy_c_buf_p) - (yytext_ptr);
++(yy_c_buf_p);
switch ( yy_get_next_buffer( ) )
@@ -2546,7 +2545,7 @@ void yypop_buffer_state (void)
*/
static void yyensure_buffer_stack (void)
{
- yy_size_t num_to_alloc;
+ int num_to_alloc;
if (!(yy_buffer_stack)) {
@@ -2638,17 +2637,17 @@ YY_BUFFER_STATE yy_scan_string (yyconst char * 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 yybytes the byte buffer to scan
- * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
+ * @param bytes the byte buffer to scan
+ * @param 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, yy_size_t _yybytes_len )
+YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len )
{
YY_BUFFER_STATE b;
char *buf;
yy_size_t n;
- yy_size_t i;
+ int i;
/* Get memory for full buffer, including space for trailing EOB's. */
n = _yybytes_len + 2;
@@ -2730,7 +2729,7 @@ FILE *yyget_out (void)
/** Get the length of the current token.
*
*/
-yy_size_t yyget_leng (void)
+int yyget_leng (void)
{
return yyleng;
}
@@ -2878,7 +2877,7 @@ void yyfree (void * ptr )
#define YYTABLES_NAME "yytables"
-#line 199 "/d/gcc-6.1.0/gcc-6.1.0/gcc/gengtype-lex.l"
+#line 199 "/space/rguenther/gcc-6.2.0/gcc-6.2.0/gcc/gengtype-lex.l"