Regenerate.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33963 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Laskey
2007-02-06 18:03:31 +00:00
parent ba4cc09f51
commit 251e3c6f6f
2 changed files with 174 additions and 169 deletions

View File

@@ -308,41 +308,42 @@ static void yy_fatal_error YY_PROTO(( yyconst char msg[] ));
#define YY_NUM_RULES 34 #define YY_NUM_RULES 34
#define YY_END_OF_BUFFER 35 #define YY_END_OF_BUFFER 35
static yyconst short int yy_acclist[145] = static yyconst short int yy_acclist[149] =
{ 0, { 0,
28, 28, 35, 33, 34, 26, 33, 34, 26, 34, 28, 28, 35, 33, 34, 26, 33, 34, 26, 34,
33, 34, 33, 34, 33, 34, 33, 34, 33, 34, 33, 34, 33, 34, 33, 34, 33, 34, 33, 34,
25, 33, 34, 25, 33, 34, 22, 33, 34, 33, 33, 34, 25, 33, 34, 25, 33, 34, 22, 33,
34, 22, 33, 34, 22, 33, 34, 22, 33, 34, 34, 33, 34, 22, 33, 34, 22, 33, 34, 22,
22, 33, 34, 22, 33, 34, 22, 33, 34, 22, 33, 34, 22, 33, 34, 22, 33, 34, 22, 33,
33, 34, 22, 33, 34, 28, 34, 29, 34, 31, 34, 22, 33, 34, 22, 33, 34, 28, 34, 29,
34, 26, 24, 23, 25, 27, 1, 22, 22, 22, 34, 31, 34, 26, 24, 23, 25, 27, 1, 22,
22, 22, 22, 22, 17, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 17, 22, 22, 22,
28, 29, 29, 32, 31, 30, 31, 23, 1, 25, 22, 22, 28, 29, 29, 32, 31, 30, 31, 23,
25, 5, 22, 22, 22, 10, 22, 12, 22, 22, 22, 1, 25, 25, 5, 22, 22, 22, 10, 22,
22, 4, 22, 16, 22, 22, 22, 22, 20, 18, 12, 22, 22, 22, 4, 22, 16, 22, 22, 22,
19, 3, 6, 22, 22, 9, 22, 13, 22, 22, 22, 20, 18, 19, 23, 3, 6, 22, 22, 9,
22, 8, 22, 22, 22, 11, 22, 15, 22, 22, 22, 13, 22, 22, 22, 8, 22, 22, 22, 11,
22, 22, 22, 22, 7, 22, 22, 22, 22, 22, 22, 15, 22, 22, 22, 22, 22, 22, 7, 22,
21, 2, 14, 22 22, 22, 22, 22, 21, 2, 14, 22
} ; } ;
static yyconst short int yy_accept[120] = static yyconst short int yy_accept[126] =
{ 0, { 0,
1, 1, 1, 2, 3, 4, 6, 9, 11, 13, 1, 1, 1, 2, 3, 4, 6, 9, 11, 13,
15, 17, 19, 21, 24, 27, 30, 32, 35, 38, 15, 17, 19, 21, 23, 26, 29, 32, 34, 37,
41, 44, 47, 50, 53, 56, 58, 60, 62, 63, 40, 43, 46, 49, 52, 55, 58, 60, 62, 64,
63, 63, 64, 65, 66, 67, 68, 68, 68, 69, 65, 65, 65, 66, 66, 67, 68, 68, 69, 70,
69, 70, 71, 72, 73, 74, 75, 77, 78, 79, 70, 70, 71, 71, 72, 73, 74, 75, 76, 77,
80, 81, 82, 83, 84, 85, 86, 87, 88, 88, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
88, 88, 89, 90, 91, 92, 92, 92, 94, 95, 89, 90, 90, 90, 90, 90, 91, 92, 93, 94,
96, 98, 100, 101, 102, 104, 106, 107, 108, 109, 95, 95, 95, 97, 98, 99, 101, 103, 104, 105,
110, 111, 112, 112, 112, 113, 115, 116, 118, 120, 107, 109, 110, 111, 112, 113, 114, 115, 115, 116,
121, 122, 124, 125, 126, 126, 128, 130, 131, 132, 116, 117, 119, 120, 122, 124, 125, 126, 128, 129,
133, 133, 134, 135, 137, 137, 138, 139, 139, 139, 130, 130, 132, 134, 135, 136, 137, 137, 138, 139,
140, 140, 140, 141, 142, 142, 143, 145, 145 141, 141, 142, 143, 143, 143, 144, 144, 144, 145,
146, 146, 147, 149, 149
} ; } ;
static yyconst int yy_ec[256] = static yyconst int yy_ec[256] =
@@ -351,16 +352,16 @@ static yyconst int yy_ec[256] =
1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 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, 2, 5, 6, 1, 7, 1, 1, 1, 1, 1, 2, 5, 6, 1, 7, 1, 1, 1, 1,
1, 8, 9, 1, 9, 1, 10, 11, 12, 13, 1, 8, 9, 1, 9, 10, 11, 12, 13, 14,
13, 13, 13, 13, 13, 13, 13, 1, 1, 1, 14, 14, 14, 14, 14, 14, 14, 1, 1, 1,
1, 1, 1, 1, 14, 14, 14, 14, 14, 14, 1, 1, 1, 1, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
16, 1, 17, 1, 15, 1, 18, 19, 20, 21, 17, 1, 18, 1, 16, 1, 19, 20, 21, 22,
22, 23, 24, 25, 26, 15, 15, 27, 28, 29, 23, 24, 25, 26, 27, 16, 16, 28, 29, 30,
30, 15, 15, 31, 32, 33, 34, 15, 15, 35, 31, 16, 16, 32, 33, 34, 35, 16, 16, 36,
15, 15, 36, 1, 37, 1, 1, 1, 1, 1, 16, 16, 37, 1, 38, 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, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
@@ -377,114 +378,118 @@ static yyconst int yy_ec[256] =
1, 1, 1, 1, 1 1, 1, 1, 1, 1
} ; } ;
static yyconst int yy_meta[38] = static yyconst int yy_meta[39] =
{ 0, { 0,
1, 1, 2, 1, 1, 1, 1, 3, 1, 3, 1, 1, 2, 1, 1, 1, 1, 3, 1, 4,
4, 4, 4, 5, 6, 1, 1, 5, 5, 5, 3, 5, 5, 5, 6, 7, 1, 1, 6, 6,
5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7,
6, 6, 6, 6, 6, 1, 1 7, 7, 7, 7, 7, 7, 1, 1
} ; } ;
static yyconst short int yy_base[132] = static yyconst short int yy_base[138] =
{ 0, { 0,
0, 0, 30, 31, 218, 219, 40, 43, 185, 210, 0, 0, 31, 32, 234, 235, 42, 45, 200, 226,
0, 37, 43, 43, 46, 0, 179, 188, 33, 43, 221, 38, 220, 45, 45, 48, 0, 192, 201, 35,
187, 183, 42, 177, 177, 0, 59, 62, 71, 46, 45, 200, 196, 44, 190, 190, 0, 61, 62, 72,
203, 219, 0, 69, 219, 0, 72, 0, 0, 171, 51, 217, 235, 212, 0, 66, 211, 235, 0, 42,
174, 188, 184, 180, 180, 180, 56, 168, 168, 172, 0, 0, 182, 185, 199, 195, 191, 191, 191, 61,
167, 0, 77, 78, 219, 82, 219, 83, 170, 76, 179, 179, 183, 178, 0, 76, 78, 235, 80, 235,
165, 0, 0, 84, 0, 158, 177, 161, 160, 169, 82, 181, 73, 176, 197, 0, 235, 0, 84, 0,
0, 162, 162, 161, 0, 0, 154, 153, 159, 219, 168, 187, 171, 170, 179, 0, 172, 172, 171, 0,
219, 219, 164, 146, 219, 0, 150, 0, 0, 160, 0, 164, 163, 169, 235, 235, 235, 174, 235, 156,
146, 0, 153, 149, 147, 0, 0, 155, 155, 150, 235, 0, 160, 0, 0, 170, 156, 0, 163, 159,
144, 150, 144, 0, 150, 95, 151, 126, 98, 92, 157, 0, 0, 165, 165, 160, 154, 160, 154, 0,
69, 93, 34, 219, 46, 219, 0, 219, 104, 110, 132, 96, 111, 103, 100, 72, 70, 94, 61, 235,
112, 115, 121, 127, 133, 136, 142, 145, 150, 156, 35, 235, 0, 235, 106, 113, 117, 120, 127, 134,
162 141, 144, 151, 154, 160, 167, 174
} ; } ;
static yyconst short int yy_def[132] = static yyconst short int yy_def[138] =
{ 0, { 0,
118, 1, 119, 119, 118, 118, 118, 118, 118, 120, 124, 1, 125, 125, 124, 124, 124, 124, 124, 126,
121, 118, 118, 118, 118, 122, 118, 122, 122, 122, 127, 124, 124, 124, 124, 124, 128, 124, 128, 128,
122, 122, 122, 122, 122, 123, 124, 125, 118, 118, 128, 128, 128, 128, 128, 128, 129, 130, 131, 124,
120, 118, 126, 118, 118, 127, 118, 128, 122, 129, 124, 126, 124, 124, 132, 124, 124, 124, 133, 124,
122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 134, 128, 135, 128, 128, 128, 128, 128, 128, 128,
122, 123, 124, 124, 118, 125, 118, 125, 118, 118, 128, 128, 128, 128, 129, 130, 130, 124, 131, 124,
118, 126, 127, 118, 128, 129, 130, 122, 122, 122, 131, 124, 124, 124, 124, 132, 124, 133, 124, 134,
122, 122, 122, 122, 122, 122, 122, 122, 122, 118, 135, 136, 128, 128, 128, 128, 128, 128, 128, 128,
118, 118, 118, 129, 118, 122, 122, 122, 122, 122, 128, 128, 128, 128, 124, 124, 124, 124, 124, 135,
122, 122, 122, 122, 118, 122, 122, 122, 122, 122, 124, 128, 128, 128, 128, 128, 128, 128, 128, 128,
118, 122, 122, 122, 118, 122, 122, 118, 118, 122, 124, 128, 128, 128, 128, 128, 124, 128, 128, 128,
118, 131, 122, 118, 131, 118, 122, 0, 118, 118, 124, 128, 128, 124, 124, 128, 124, 137, 128, 124,
118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 137, 124, 128, 0, 124, 124, 124, 124, 124, 124,
118 124, 124, 124, 124, 124, 124, 124
} ; } ;
static yyconst short int yy_nxt[257] = static yyconst short int yy_nxt[274] =
{ 0, { 0,
6, 7, 8, 7, 9, 10, 11, 6, 12, 13, 6, 7, 8, 7, 9, 10, 11, 6, 12, 13,
14, 15, 15, 16, 16, 17, 6, 16, 18, 19, 14, 15, 16, 16, 17, 17, 18, 6, 17, 19,
20, 16, 21, 16, 16, 22, 23, 24, 16, 16, 20, 21, 17, 22, 17, 17, 23, 24, 25, 17,
16, 25, 16, 16, 16, 6, 6, 27, 27, 28, 17, 17, 26, 17, 17, 17, 6, 6, 28, 28,
28, 29, 29, 29, 29, 29, 29, 34, 34, 34, 122, 29, 29, 30, 30, 30, 30, 30, 30, 36,
35, 116, 36, 34, 34, 34, 34, 34, 34, 42, 36, 36, 38, 69, 69, 39, 36, 36, 36, 36,
44, 37, 43, 48, 45, 117, 54, 49, 55, 57, 36, 36, 45, 47, 40, 46, 51, 48, 57, 60,
59, 58, 29, 29, 29, 74, 60, 38, 61, 34, 52, 58, 61, 30, 30, 30, 62, 36, 36, 36,
34, 34, 64, 64, 118, 54, 118, 55, 75, 118, 41, 79, 63, 124, 64, 57, 124, 124, 58, 124,
118, 118, 58, 81, 64, 64, 109, 109, 116, 109, 124, 86, 61, 123, 80, 69, 69, 115, 115, 122,
109, 114, 82, 112, 26, 26, 26, 26, 26, 26, 87, 115, 115, 120, 119, 118, 27, 27, 27, 27,
31, 31, 31, 31, 31, 31, 33, 33, 39, 39, 27, 27, 27, 32, 32, 32, 32, 32, 32, 32,
39, 52, 52, 113, 52, 52, 52, 53, 53, 53, 35, 117, 35, 35, 42, 42, 42, 55, 55, 116,
53, 53, 53, 56, 56, 56, 56, 56, 56, 62, 55, 55, 55, 55, 56, 56, 56, 56, 56, 56,
62, 62, 63, 111, 63, 63, 63, 63, 65, 65, 56, 59, 59, 59, 59, 59, 59, 59, 66, 66,
66, 66, 66, 66, 66, 66, 84, 84, 84, 84, 66, 68, 114, 68, 68, 68, 68, 68, 70, 70,
84, 84, 115, 115, 115, 115, 115, 115, 110, 108, 71, 71, 71, 71, 71, 71, 71, 90, 90, 90,
107, 106, 105, 104, 103, 102, 101, 100, 99, 98, 90, 90, 90, 90, 121, 121, 121, 121, 121, 121,
97, 96, 67, 95, 94, 93, 92, 91, 90, 89, 121, 113, 112, 111, 110, 109, 108, 107, 106, 105,
88, 87, 86, 85, 67, 83, 80, 79, 78, 77, 104, 103, 102, 72, 101, 100, 99, 98, 97, 96,
76, 73, 72, 71, 70, 69, 68, 67, 32, 51, 95, 94, 93, 92, 91, 72, 89, 88, 85, 84,
50, 47, 46, 41, 40, 32, 30, 118, 5, 118, 83, 82, 81, 78, 77, 76, 75, 74, 73, 72,
118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 67, 65, 33, 54, 53, 50, 49, 44, 43, 37,
118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 34, 33, 31, 124, 5, 124, 124, 124, 124, 124,
118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
118, 118, 118, 118, 118, 118 124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
124, 124, 124
} ; } ;
static yyconst short int yy_chk[257] = static yyconst short int yy_chk[274] =
{ 0, { 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, 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, 3, 4, 3, 1, 1, 1, 1, 1, 1, 1, 1, 3, 4,
4, 7, 7, 7, 8, 8, 8, 12, 12, 12, 121, 3, 4, 7, 7, 7, 8, 8, 8, 12,
13, 115, 13, 14, 14, 14, 15, 15, 15, 19, 12, 12, 14, 40, 40, 14, 15, 15, 15, 16,
20, 14, 19, 23, 20, 113, 27, 23, 27, 28, 16, 16, 20, 21, 15, 20, 24, 21, 28, 29,
30, 28, 29, 29, 29, 47, 30, 14, 30, 34, 24, 28, 29, 30, 30, 30, 31, 36, 36, 36,
34, 34, 37, 37, 53, 54, 53, 54, 47, 56, 15, 50, 31, 56, 31, 57, 56, 59, 57, 61,
58, 56, 58, 60, 64, 64, 106, 106, 112, 109, 59, 63, 61, 119, 50, 69, 69, 112, 112, 118,
109, 111, 60, 109, 119, 119, 119, 119, 119, 119, 63, 115, 115, 117, 116, 115, 125, 125, 125, 125,
120, 120, 120, 120, 120, 120, 121, 121, 122, 122, 125, 125, 125, 126, 126, 126, 126, 126, 126, 126,
122, 123, 123, 110, 123, 123, 123, 124, 124, 124, 127, 114, 127, 127, 128, 128, 128, 129, 129, 113,
124, 124, 124, 125, 125, 125, 125, 125, 125, 126, 129, 129, 129, 129, 130, 130, 130, 130, 130, 130,
126, 126, 127, 108, 127, 127, 127, 127, 128, 128, 130, 131, 131, 131, 131, 131, 131, 131, 132, 132,
129, 129, 129, 129, 129, 129, 130, 130, 130, 130, 132, 133, 111, 133, 133, 133, 133, 133, 134, 134,
130, 130, 131, 131, 131, 131, 131, 131, 107, 105, 135, 135, 135, 135, 135, 135, 135, 136, 136, 136,
103, 102, 101, 100, 99, 98, 95, 94, 93, 91, 136, 136, 136, 136, 137, 137, 137, 137, 137, 137,
90, 87, 84, 83, 79, 78, 77, 74, 73, 72, 137, 109, 108, 107, 106, 105, 104, 101, 100, 99,
70, 69, 68, 67, 66, 61, 59, 51, 50, 49, 97, 96, 93, 90, 88, 84, 83, 82, 79, 78,
48, 46, 45, 44, 43, 42, 41, 40, 31, 25, 77, 75, 74, 73, 72, 71, 65, 64, 62, 54,
24, 22, 21, 18, 17, 10, 9, 5, 118, 118, 53, 52, 51, 49, 48, 47, 46, 45, 44, 43,
118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 37, 34, 32, 26, 25, 23, 22, 19, 18, 13,
118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 11, 10, 9, 5, 124, 124, 124, 124, 124, 124,
118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
118, 118, 118, 118, 118, 118 124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
124, 124, 124
} ; } ;
static yy_state_type yy_state_buf[YY_BUF_SIZE + 2], *yy_state_ptr; static yy_state_type yy_state_buf[YY_BUF_SIZE + 2], *yy_state_ptr;
@@ -501,7 +506,7 @@ goto find_rule; \
#define YY_MORE_ADJ 0 #define YY_MORE_ADJ 0
#define YY_RESTORE_YY_MORE_OFFSET #define YY_RESTORE_YY_MORE_OFFSET
char *yytext; char *yytext;
#line 1 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 1 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
#define INITIAL 0 #define INITIAL 0
/*===-- FileLexer.l - Scanner for TableGen Files ----------------*- C++ -*-===// /*===-- FileLexer.l - Scanner for TableGen Files ----------------*- C++ -*-===//
// //
@@ -519,7 +524,7 @@ char *yytext;
#define YY_NEVER_INTERACTIVE 1 #define YY_NEVER_INTERACTIVE 1
#define comment 1 #define comment 1
#line 30 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 30 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
#include "llvm/Config/config.h" #include "llvm/Config/config.h"
#include "llvm/Support/Streams.h" #include "llvm/Support/Streams.h"
#include "Record.h" #include "Record.h"
@@ -665,7 +670,7 @@ int yywrap(void) {
using namespace llvm; using namespace llvm;
#line 669 "Lexer.cpp" #line 674 "Lexer.cpp"
/* Macros after this point can all be overridden by user definitions in /* Macros after this point can all be overridden by user definitions in
* section 1. * section 1.
@@ -816,10 +821,10 @@ YY_DECL
register char *yy_cp, *yy_bp; register char *yy_cp, *yy_bp;
register int yy_act; register int yy_act;
#line 185 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 185 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
#line 823 "Lexer.cpp" #line 828 "Lexer.cpp"
if ( yy_init ) if ( yy_init )
{ {
@@ -867,14 +872,14 @@ yy_match:
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{ {
yy_current_state = (int) yy_def[yy_current_state]; yy_current_state = (int) yy_def[yy_current_state];
if ( yy_current_state >= 119 ) if ( yy_current_state >= 125 )
yy_c = yy_meta[(unsigned int) yy_c]; yy_c = yy_meta[(unsigned int) yy_c];
} }
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
*yy_state_ptr++ = yy_current_state; *yy_state_ptr++ = yy_current_state;
++yy_cp; ++yy_cp;
} }
while ( yy_current_state != 118 ); while ( yy_current_state != 124 );
yy_find_action: yy_find_action:
yy_current_state = *--yy_state_ptr; yy_current_state = *--yy_state_ptr;
@@ -912,183 +917,183 @@ do_action: /* This label is used only to access EOF actions. */
{ /* beginning of action switch */ { /* beginning of action switch */
case 1: case 1:
YY_RULE_SETUP YY_RULE_SETUP
#line 187 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 187 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ /* Ignore comments */ } { /* Ignore comments */ }
YY_BREAK YY_BREAK
case 2: case 2:
YY_RULE_SETUP YY_RULE_SETUP
#line 189 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 189 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ HandleInclude(yytext); } { HandleInclude(yytext); }
YY_BREAK YY_BREAK
case 3: case 3:
YY_RULE_SETUP YY_RULE_SETUP
#line 190 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 190 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ Filelval.StrVal = new std::string(yytext+2, yytext+yyleng-2); { Filelval.StrVal = new std::string(yytext+2, yytext+yyleng-2);
return CODEFRAGMENT; } return CODEFRAGMENT; }
YY_BREAK YY_BREAK
case 4: case 4:
YY_RULE_SETUP YY_RULE_SETUP
#line 193 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 193 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ return INT; } { return INT; }
YY_BREAK YY_BREAK
case 5: case 5:
YY_RULE_SETUP YY_RULE_SETUP
#line 194 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 194 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ return BIT; } { return BIT; }
YY_BREAK YY_BREAK
case 6: case 6:
YY_RULE_SETUP YY_RULE_SETUP
#line 195 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 195 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ return BITS; } { return BITS; }
YY_BREAK YY_BREAK
case 7: case 7:
YY_RULE_SETUP YY_RULE_SETUP
#line 196 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 196 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ return STRING; } { return STRING; }
YY_BREAK YY_BREAK
case 8: case 8:
YY_RULE_SETUP YY_RULE_SETUP
#line 197 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 197 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ return LIST; } { return LIST; }
YY_BREAK YY_BREAK
case 9: case 9:
YY_RULE_SETUP YY_RULE_SETUP
#line 198 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 198 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ return CODE; } { return CODE; }
YY_BREAK YY_BREAK
case 10: case 10:
YY_RULE_SETUP YY_RULE_SETUP
#line 199 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 199 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ return DAG; } { return DAG; }
YY_BREAK YY_BREAK
case 11: case 11:
YY_RULE_SETUP YY_RULE_SETUP
#line 201 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 201 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ return CLASS; } { return CLASS; }
YY_BREAK YY_BREAK
case 12: case 12:
YY_RULE_SETUP YY_RULE_SETUP
#line 202 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 202 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ return DEF; } { return DEF; }
YY_BREAK YY_BREAK
case 13: case 13:
YY_RULE_SETUP YY_RULE_SETUP
#line 203 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 203 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ return DEFM; } { return DEFM; }
YY_BREAK YY_BREAK
case 14: case 14:
YY_RULE_SETUP YY_RULE_SETUP
#line 204 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 204 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ return MULTICLASS; } { return MULTICLASS; }
YY_BREAK YY_BREAK
case 15: case 15:
YY_RULE_SETUP YY_RULE_SETUP
#line 205 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 205 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ return FIELD; } { return FIELD; }
YY_BREAK YY_BREAK
case 16: case 16:
YY_RULE_SETUP YY_RULE_SETUP
#line 206 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 206 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ return LET; } { return LET; }
YY_BREAK YY_BREAK
case 17: case 17:
YY_RULE_SETUP YY_RULE_SETUP
#line 207 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 207 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ return IN; } { return IN; }
YY_BREAK YY_BREAK
case 18: case 18:
YY_RULE_SETUP YY_RULE_SETUP
#line 209 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 209 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ return SRATOK; } { return SRATOK; }
YY_BREAK YY_BREAK
case 19: case 19:
YY_RULE_SETUP YY_RULE_SETUP
#line 210 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 210 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ return SRLTOK; } { return SRLTOK; }
YY_BREAK YY_BREAK
case 20: case 20:
YY_RULE_SETUP YY_RULE_SETUP
#line 211 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 211 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ return SHLTOK; } { return SHLTOK; }
YY_BREAK YY_BREAK
case 21: case 21:
YY_RULE_SETUP YY_RULE_SETUP
#line 212 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 212 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ return STRCONCATTOK; } { return STRCONCATTOK; }
YY_BREAK YY_BREAK
case 22: case 22:
YY_RULE_SETUP YY_RULE_SETUP
#line 215 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 215 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ Filelval.StrVal = new std::string(yytext, yytext+yyleng); { Filelval.StrVal = new std::string(yytext, yytext+yyleng);
return ID; } return ID; }
YY_BREAK YY_BREAK
case 23: case 23:
YY_RULE_SETUP YY_RULE_SETUP
#line 217 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 217 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ Filelval.StrVal = new std::string(yytext+1, yytext+yyleng); { Filelval.StrVal = new std::string(yytext+1, yytext+yyleng);
return VARNAME; } return VARNAME; }
YY_BREAK YY_BREAK
case 24: case 24:
YY_RULE_SETUP YY_RULE_SETUP
#line 220 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 220 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ Filelval.StrVal = new std::string(yytext+1, yytext+yyleng-1); { Filelval.StrVal = new std::string(yytext+1, yytext+yyleng-1);
return STRVAL; } return STRVAL; }
YY_BREAK YY_BREAK
case 25: case 25:
YY_RULE_SETUP YY_RULE_SETUP
#line 223 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 223 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ Filelval.IntVal = ParseInt(Filetext); return INTVAL; } { Filelval.IntVal = ParseInt(Filetext); return INTVAL; }
YY_BREAK YY_BREAK
case 26: case 26:
YY_RULE_SETUP YY_RULE_SETUP
#line 225 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 225 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ /* Ignore whitespace */ } { /* Ignore whitespace */ }
YY_BREAK YY_BREAK
case 27: case 27:
YY_RULE_SETUP YY_RULE_SETUP
#line 228 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 228 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ BEGIN(comment); CommentDepth++; } { BEGIN(comment); CommentDepth++; }
YY_BREAK YY_BREAK
case 28: case 28:
YY_RULE_SETUP YY_RULE_SETUP
#line 229 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 229 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{} /* eat anything that's not a '*' or '/' */ {} /* eat anything that's not a '*' or '/' */
YY_BREAK YY_BREAK
case 29: case 29:
YY_RULE_SETUP YY_RULE_SETUP
#line 230 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 230 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{} /* eat up '*'s not followed by '/'s */ {} /* eat up '*'s not followed by '/'s */
YY_BREAK YY_BREAK
case 30: case 30:
YY_RULE_SETUP YY_RULE_SETUP
#line 231 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 231 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ ++CommentDepth; } { ++CommentDepth; }
YY_BREAK YY_BREAK
case 31: case 31:
YY_RULE_SETUP YY_RULE_SETUP
#line 232 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 232 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{} /* eat up /'s not followed by *'s */ {} /* eat up /'s not followed by *'s */
YY_BREAK YY_BREAK
case 32: case 32:
YY_RULE_SETUP YY_RULE_SETUP
#line 233 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 233 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ if (!--CommentDepth) { BEGIN(INITIAL); } } { if (!--CommentDepth) { BEGIN(INITIAL); } }
YY_BREAK YY_BREAK
case YY_STATE_EOF(comment): case YY_STATE_EOF(comment):
#line 234 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 234 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ err() << "Unterminated comment!\n"; exit(1); } { err() << "Unterminated comment!\n"; exit(1); }
YY_BREAK YY_BREAK
case 33: case 33:
YY_RULE_SETUP YY_RULE_SETUP
#line 236 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 236 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
{ return Filetext[0]; } { return Filetext[0]; }
YY_BREAK YY_BREAK
case 34: case 34:
YY_RULE_SETUP YY_RULE_SETUP
#line 238 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 238 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
YY_FATAL_ERROR( "flex scanner jammed" ); YY_FATAL_ERROR( "flex scanner jammed" );
YY_BREAK YY_BREAK
#line 1092 "Lexer.cpp" #line 1097 "Lexer.cpp"
case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(INITIAL):
yyterminate(); yyterminate();
@@ -1377,7 +1382,7 @@ static yy_state_type yy_get_previous_state()
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{ {
yy_current_state = (int) yy_def[yy_current_state]; yy_current_state = (int) yy_def[yy_current_state];
if ( yy_current_state >= 119 ) if ( yy_current_state >= 125 )
yy_c = yy_meta[(unsigned int) yy_c]; yy_c = yy_meta[(unsigned int) yy_c];
} }
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
@@ -1407,11 +1412,11 @@ yy_state_type yy_current_state;
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{ {
yy_current_state = (int) yy_def[yy_current_state]; yy_current_state = (int) yy_def[yy_current_state];
if ( yy_current_state >= 119 ) if ( yy_current_state >= 125 )
yy_c = yy_meta[(unsigned int) yy_c]; yy_c = yy_meta[(unsigned int) yy_c];
} }
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
yy_is_jam = (yy_current_state == 118); yy_is_jam = (yy_current_state == 124);
if ( ! yy_is_jam ) if ( ! yy_is_jam )
*yy_state_ptr++ = yy_current_state; *yy_state_ptr++ = yy_current_state;
@@ -1512,7 +1517,7 @@ static int input()
case EOB_ACT_END_OF_FILE: case EOB_ACT_END_OF_FILE:
{ {
if ( yywrap() ) if ( yywrap() )
return 0; return EOF;
if ( ! yy_did_buffer_switch_on_eof ) if ( ! yy_did_buffer_switch_on_eof )
YY_NEW_FILE; YY_NEW_FILE;
@@ -1972,6 +1977,6 @@ int main()
return 0; return 0;
} }
#endif #endif
#line 238 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l" #line 238 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"

View File

@@ -176,7 +176,7 @@ using namespace llvm;
Comment \/\/.* Comment \/\/.*
Identifier [a-zA-Z_][0-9a-zA-Z_]* Identifier [a-zA-Z_][0-9a-zA-Z_]*|\.\.\.
Integer [-+]?[0-9]+|0x[0-9a-fA-F]+|0b[01]+ Integer [-+]?[0-9]+|0x[0-9a-fA-F]+|0b[01]+
CodeFragment \[\{([^}]+|\}[^\]])*\}\] CodeFragment \[\{([^}]+|\}[^\]])*\}\]
StringVal \"[^"]*\" StringVal \"[^"]*\"