Mercurial > hg > CbC > CbC_gcc
diff gcc/gengtype-lex.c @ 19:58ad6c70ea60
update gcc from 4.4.0 to 4.4.1.
author | kent@firefly.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Thu, 24 Sep 2009 13:21:57 +0900 |
parents | a06113de4d67 |
children | 3bfb6c00c1e0 |
line wrap: on
line diff
--- a/gcc/gengtype-lex.c Thu Sep 24 13:06:16 2009 +0900 +++ b/gcc/gengtype-lex.c Thu Sep 24 13:21:57 2009 +0900 @@ -936,7 +936,7 @@ #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET char *yytext; -#line 1 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 1 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" /* -*- indented-text -*- */ /* Process source files and output type information. Copyright (C) 2002, 2003, 2004, 2005, 2007, 2008, 2009 @@ -957,7 +957,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/>. */ -#line 23 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 23 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" #include "bconfig.h" #include "system.h" @@ -1168,7 +1168,7 @@ register char *yy_cp, *yy_bp; register int yy_act; -#line 58 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 58 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" /* Do this on entry to yylex(): */ *yylval = 0; @@ -1265,7 +1265,7 @@ (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 69 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 69 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { BEGIN(in_struct); return TYPEDEF; @@ -1277,7 +1277,7 @@ (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 73 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 73 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { BEGIN(in_struct); return STRUCT; @@ -1289,7 +1289,7 @@ (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 77 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 77 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { BEGIN(in_struct); return UNION; @@ -1301,7 +1301,7 @@ (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 81 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 81 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { BEGIN(in_struct); return EXTERN; @@ -1313,7 +1313,7 @@ (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 85 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 85 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { BEGIN(in_struct); return STATIC; @@ -1325,7 +1325,7 @@ (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 90 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 90 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { BEGIN(in_struct); return DEFVEC_OP; @@ -1337,7 +1337,7 @@ (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 94 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 94 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { BEGIN(in_struct); return DEFVEC_I; @@ -1349,7 +1349,7 @@ (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 98 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 98 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { BEGIN(in_struct); return DEFVEC_ALLOC; @@ -1359,19 +1359,19 @@ case 9: YY_RULE_SETUP -#line 106 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 106 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { BEGIN(in_struct_comment); } YY_BREAK case 10: /* rule 10 can match eol */ YY_RULE_SETUP -#line 108 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 108 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { update_lineno (yytext, yyleng); } YY_BREAK case 11: /* rule 11 can match eol */ YY_RULE_SETUP -#line 109 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 109 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { lexer_line.line++; } YY_BREAK case 12: @@ -1380,7 +1380,7 @@ (yy_c_buf_p) = yy_cp = yy_bp + 5; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 111 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 111 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" /* don't care */ YY_BREAK case 13: @@ -1389,7 +1389,7 @@ (yy_c_buf_p) = yy_cp = yy_bp + 3; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 112 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 112 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { return GTY_TOKEN; } YY_BREAK case 14: @@ -1398,7 +1398,7 @@ (yy_c_buf_p) = yy_cp = yy_bp + 3; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 113 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 113 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { return VEC_TOKEN; } YY_BREAK case 15: @@ -1407,7 +1407,7 @@ (yy_c_buf_p) = yy_cp = yy_bp + 5; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 114 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 114 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { return UNION; } YY_BREAK case 16: @@ -1416,7 +1416,7 @@ (yy_c_buf_p) = yy_cp = yy_bp + 6; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 115 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 115 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { return STRUCT; } YY_BREAK case 17: @@ -1425,7 +1425,7 @@ (yy_c_buf_p) = yy_cp = yy_bp + 4; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 116 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 116 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { return ENUM; } YY_BREAK case 18: @@ -1434,7 +1434,7 @@ (yy_c_buf_p) = yy_cp = yy_bp + 9; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 117 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 117 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { return PTR_ALIAS; } YY_BREAK case 19: @@ -1443,12 +1443,12 @@ (yy_c_buf_p) = yy_cp = yy_bp + 10; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 118 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 118 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { return NESTED_PTR; } YY_BREAK case 20: YY_RULE_SETUP -#line 119 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 119 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { return NUM; } YY_BREAK case 21: @@ -1457,7 +1457,7 @@ (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 120 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 120 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { *yylval = XDUPVAR (const char, yytext, yyleng, yyleng+1); return PARAM_IS; @@ -1468,11 +1468,11 @@ *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 126 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 126 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" case 23: /* rule 23 can match eol */ YY_RULE_SETUP -#line 126 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 126 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { size_t len; @@ -1490,7 +1490,7 @@ (yy_c_buf_p) = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 138 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 138 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { *yylval = XDUPVAR (const char, yytext, yyleng, yyleng+1); return ID; @@ -1499,7 +1499,7 @@ case 25: /* rule 25 can match eol */ YY_RULE_SETUP -#line 143 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 143 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { *yylval = XDUPVAR (const char, yytext+1, yyleng-2, yyleng-1); return STRING; @@ -1509,7 +1509,7 @@ case 26: /* rule 26 can match eol */ YY_RULE_SETUP -#line 148 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 148 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { *yylval = XDUPVAR (const char, yytext+1, yyleng-2, yyleng-1); return ARRAY; @@ -1518,7 +1518,7 @@ case 27: /* rule 27 can match eol */ YY_RULE_SETUP -#line 152 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 152 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { *yylval = XDUPVAR (const char, yytext+1, yyleng-2, yyleng); return CHAR; @@ -1526,24 +1526,24 @@ YY_BREAK case 28: YY_RULE_SETUP -#line 157 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 157 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { return ELLIPSIS; } YY_BREAK case 29: YY_RULE_SETUP -#line 158 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 158 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { return yytext[0]; } YY_BREAK /* ignore pp-directives */ case 30: /* rule 30 can match eol */ YY_RULE_SETUP -#line 161 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 161 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" {lexer_line.line++;} YY_BREAK case 31: YY_RULE_SETUP -#line 163 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 163 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { error_at_line (&lexer_line, "unexpected character `%s'", yytext); } @@ -1551,30 +1551,30 @@ case 32: YY_RULE_SETUP -#line 168 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 168 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { BEGIN(in_comment); } YY_BREAK case 33: /* rule 33 can match eol */ YY_RULE_SETUP -#line 169 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 169 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { lexer_line.line++; } YY_BREAK case 34: -#line 171 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 171 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" case 35: /* rule 35 can match eol */ -#line 172 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 172 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" case 36: /* rule 36 can match eol */ YY_RULE_SETUP -#line 172 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 172 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" /* do nothing */ YY_BREAK case 37: /* rule 37 can match eol */ YY_RULE_SETUP -#line 173 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 173 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { update_lineno (yytext, yyleng); } YY_BREAK case 38: @@ -1583,21 +1583,21 @@ (yy_c_buf_p) = yy_cp = yy_bp + 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 174 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 174 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" /* do nothing */ YY_BREAK case 39: /* rule 39 can match eol */ YY_RULE_SETUP -#line 177 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 177 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { lexer_line.line++; } YY_BREAK case 40: -#line 179 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 179 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" case 41: YY_RULE_SETUP -#line 179 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 179 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" /* do nothing */ YY_BREAK case 42: @@ -1606,25 +1606,25 @@ (yy_c_buf_p) = yy_cp = yy_bp + 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP -#line 180 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 180 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" /* do nothing */ YY_BREAK case 43: YY_RULE_SETUP -#line 182 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 182 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { BEGIN(INITIAL); } YY_BREAK case 44: YY_RULE_SETUP -#line 183 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 183 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { BEGIN(in_struct); } YY_BREAK case 45: -#line 186 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 186 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" case 46: YY_RULE_SETUP -#line 186 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 186 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { error_at_line (&lexer_line, "unterminated comment or string; unexpected EOF"); @@ -1633,20 +1633,20 @@ case 47: /* rule 47 can match eol */ YY_RULE_SETUP -#line 191 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 191 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" /* do nothing */ YY_BREAK case 48: /* rule 48 can match eol */ YY_RULE_SETUP -#line 192 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 192 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" { error_at_line (&lexer_line, "stray GTY marker"); } YY_BREAK case 49: YY_RULE_SETUP -#line 196 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 196 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l" YY_FATAL_ERROR( "flex scanner jammed" ); YY_BREAK #line 1653 "gengtype-lex.c" @@ -2613,7 +2613,7 @@ #define YYTABLES_NAME "yytables" -#line 196 "/usr/src/gcc-4.4.0/gcc-4.4.0/gcc/gengtype-lex.l" +#line 196 "/d/gcc-4.4.1/gcc-4.4.1/gcc/gengtype-lex.l"