summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2007-02-06 18:03:31 +0000
committerJim Laskey <jlaskey@mac.com>2007-02-06 18:03:31 +0000
commit251e3c6f6f73b1132709f07a3ad4e3046c22e3ed (patch)
tree719ba83e4b83a4f6372e40e61c72283b758e6aaa /utils
parentba4cc09f51eaf7bf7dff12bb4bb405caab3c29d1 (diff)
downloadllvm-251e3c6f6f73b1132709f07a3ad4e3046c22e3ed.tar.gz
llvm-251e3c6f6f73b1132709f07a3ad4e3046c22e3ed.tar.bz2
llvm-251e3c6f6f73b1132709f07a3ad4e3046c22e3ed.tar.xz
Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33963 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/FileLexer.cpp.cvs359
-rw-r--r--utils/TableGen/FileLexer.l.cvs2
2 files changed, 183 insertions, 178 deletions
diff --git a/utils/TableGen/FileLexer.cpp.cvs b/utils/TableGen/FileLexer.cpp.cvs
index e097507e40..e017fa319a 100644
--- a/utils/TableGen/FileLexer.cpp.cvs
+++ b/utils/TableGen/FileLexer.cpp.cvs
@@ -308,41 +308,42 @@ static void yy_fatal_error YY_PROTO(( yyconst char msg[] ));
#define YY_NUM_RULES 34
#define YY_END_OF_BUFFER 35
-static yyconst short int yy_acclist[145] =
+static yyconst short int yy_acclist[149] =
{ 0,
28, 28, 35, 33, 34, 26, 33, 34, 26, 34,
33, 34, 33, 34, 33, 34, 33, 34, 33, 34,
- 25, 33, 34, 25, 33, 34, 22, 33, 34, 33,
- 34, 22, 33, 34, 22, 33, 34, 22, 33, 34,
- 22, 33, 34, 22, 33, 34, 22, 33, 34, 22,
- 33, 34, 22, 33, 34, 28, 34, 29, 34, 31,
- 34, 26, 24, 23, 25, 27, 1, 22, 22, 22,
- 22, 22, 22, 22, 17, 22, 22, 22, 22, 22,
- 28, 29, 29, 32, 31, 30, 31, 23, 1, 25,
- 25, 5, 22, 22, 22, 10, 22, 12, 22, 22,
-
- 22, 4, 22, 16, 22, 22, 22, 22, 20, 18,
- 19, 3, 6, 22, 22, 9, 22, 13, 22, 22,
- 22, 8, 22, 22, 22, 11, 22, 15, 22, 22,
- 22, 22, 22, 22, 7, 22, 22, 22, 22, 22,
- 21, 2, 14, 22
+ 33, 34, 25, 33, 34, 25, 33, 34, 22, 33,
+ 34, 33, 34, 22, 33, 34, 22, 33, 34, 22,
+ 33, 34, 22, 33, 34, 22, 33, 34, 22, 33,
+ 34, 22, 33, 34, 22, 33, 34, 28, 34, 29,
+ 34, 31, 34, 26, 24, 23, 25, 27, 1, 22,
+ 22, 22, 22, 22, 22, 22, 17, 22, 22, 22,
+ 22, 22, 28, 29, 29, 32, 31, 30, 31, 23,
+ 22, 1, 25, 25, 5, 22, 22, 22, 10, 22,
+
+ 12, 22, 22, 22, 4, 22, 16, 22, 22, 22,
+ 22, 20, 18, 19, 23, 3, 6, 22, 22, 9,
+ 22, 13, 22, 22, 22, 8, 22, 22, 22, 11,
+ 22, 15, 22, 22, 22, 22, 22, 22, 7, 22,
+ 22, 22, 22, 22, 21, 2, 14, 22
} ;
-static yyconst short int yy_accept[120] =
+static yyconst short int yy_accept[126] =
{ 0,
1, 1, 1, 2, 3, 4, 6, 9, 11, 13,
- 15, 17, 19, 21, 24, 27, 30, 32, 35, 38,
- 41, 44, 47, 50, 53, 56, 58, 60, 62, 63,
- 63, 63, 64, 65, 66, 67, 68, 68, 68, 69,
- 69, 70, 71, 72, 73, 74, 75, 77, 78, 79,
- 80, 81, 82, 83, 84, 85, 86, 87, 88, 88,
- 88, 88, 89, 90, 91, 92, 92, 92, 94, 95,
- 96, 98, 100, 101, 102, 104, 106, 107, 108, 109,
- 110, 111, 112, 112, 112, 113, 115, 116, 118, 120,
- 121, 122, 124, 125, 126, 126, 128, 130, 131, 132,
-
- 133, 133, 134, 135, 137, 137, 138, 139, 139, 139,
- 140, 140, 140, 141, 142, 142, 143, 145, 145
+ 15, 17, 19, 21, 23, 26, 29, 32, 34, 37,
+ 40, 43, 46, 49, 52, 55, 58, 60, 62, 64,
+ 65, 65, 65, 66, 66, 67, 68, 68, 69, 70,
+ 70, 70, 71, 71, 72, 73, 74, 75, 76, 77,
+ 79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
+ 89, 90, 90, 90, 90, 90, 91, 92, 93, 94,
+ 95, 95, 95, 97, 98, 99, 101, 103, 104, 105,
+ 107, 109, 110, 111, 112, 113, 114, 115, 115, 116,
+ 116, 117, 119, 120, 122, 124, 125, 126, 128, 129,
+
+ 130, 130, 132, 134, 135, 136, 137, 137, 138, 139,
+ 141, 141, 142, 143, 143, 143, 144, 144, 144, 145,
+ 146, 146, 147, 149, 149
} ;
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, 1, 1, 1, 1, 1, 1, 1, 1,
1, 2, 5, 6, 1, 7, 1, 1, 1, 1,
- 1, 8, 9, 1, 9, 1, 10, 11, 12, 13,
- 13, 13, 13, 13, 13, 13, 13, 1, 1, 1,
- 1, 1, 1, 1, 14, 14, 14, 14, 14, 14,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 16, 1, 17, 1, 15, 1, 18, 19, 20, 21,
-
- 22, 23, 24, 25, 26, 15, 15, 27, 28, 29,
- 30, 15, 15, 31, 32, 33, 34, 15, 15, 35,
- 15, 15, 36, 1, 37, 1, 1, 1, 1, 1,
+ 1, 8, 9, 1, 9, 10, 11, 12, 13, 14,
+ 14, 14, 14, 14, 14, 14, 14, 1, 1, 1,
+ 1, 1, 1, 1, 15, 15, 15, 15, 15, 15,
+ 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
+ 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
+ 17, 1, 18, 1, 16, 1, 19, 20, 21, 22,
+
+ 23, 24, 25, 26, 27, 16, 16, 28, 29, 30,
+ 31, 16, 16, 32, 33, 34, 35, 16, 16, 36,
+ 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,
@@ -377,114 +378,118 @@ static yyconst int yy_ec[256] =
1, 1, 1, 1, 1
} ;
-static yyconst int yy_meta[38] =
+static yyconst int yy_meta[39] =
{ 0,
- 1, 1, 2, 1, 1, 1, 1, 3, 1, 3,
- 4, 4, 4, 5, 6, 1, 1, 5, 5, 5,
- 5, 5, 5, 6, 6, 6, 6, 6, 6, 6,
- 6, 6, 6, 6, 6, 1, 1
+ 1, 1, 2, 1, 1, 1, 1, 3, 1, 4,
+ 3, 5, 5, 5, 6, 7, 1, 1, 6, 6,
+ 6, 6, 6, 6, 7, 7, 7, 7, 7, 7,
+ 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, 30, 31, 218, 219, 40, 43, 185, 210,
- 0, 37, 43, 43, 46, 0, 179, 188, 33, 43,
- 187, 183, 42, 177, 177, 0, 59, 62, 71, 46,
- 203, 219, 0, 69, 219, 0, 72, 0, 0, 171,
- 174, 188, 184, 180, 180, 180, 56, 168, 168, 172,
- 167, 0, 77, 78, 219, 82, 219, 83, 170, 76,
- 165, 0, 0, 84, 0, 158, 177, 161, 160, 169,
- 0, 162, 162, 161, 0, 0, 154, 153, 159, 219,
- 219, 219, 164, 146, 219, 0, 150, 0, 0, 160,
- 146, 0, 153, 149, 147, 0, 0, 155, 155, 150,
-
- 144, 150, 144, 0, 150, 95, 151, 126, 98, 92,
- 69, 93, 34, 219, 46, 219, 0, 219, 104, 110,
- 112, 115, 121, 127, 133, 136, 142, 145, 150, 156,
- 162
+ 0, 0, 31, 32, 234, 235, 42, 45, 200, 226,
+ 221, 38, 220, 45, 45, 48, 0, 192, 201, 35,
+ 45, 200, 196, 44, 190, 190, 0, 61, 62, 72,
+ 51, 217, 235, 212, 0, 66, 211, 235, 0, 42,
+ 0, 0, 182, 185, 199, 195, 191, 191, 191, 61,
+ 179, 179, 183, 178, 0, 76, 78, 235, 80, 235,
+ 82, 181, 73, 176, 197, 0, 235, 0, 84, 0,
+ 168, 187, 171, 170, 179, 0, 172, 172, 171, 0,
+ 0, 164, 163, 169, 235, 235, 235, 174, 235, 156,
+ 235, 0, 160, 0, 0, 170, 156, 0, 163, 159,
+
+ 157, 0, 0, 165, 165, 160, 154, 160, 154, 0,
+ 132, 96, 111, 103, 100, 72, 70, 94, 61, 235,
+ 35, 235, 0, 235, 106, 113, 117, 120, 127, 134,
+ 141, 144, 151, 154, 160, 167, 174
} ;
-static yyconst short int yy_def[132] =
+static yyconst short int yy_def[138] =
{ 0,
- 118, 1, 119, 119, 118, 118, 118, 118, 118, 120,
- 121, 118, 118, 118, 118, 122, 118, 122, 122, 122,
- 122, 122, 122, 122, 122, 123, 124, 125, 118, 118,
- 120, 118, 126, 118, 118, 127, 118, 128, 122, 129,
- 122, 122, 122, 122, 122, 122, 122, 122, 122, 122,
- 122, 123, 124, 124, 118, 125, 118, 125, 118, 118,
- 118, 126, 127, 118, 128, 129, 130, 122, 122, 122,
- 122, 122, 122, 122, 122, 122, 122, 122, 122, 118,
- 118, 118, 118, 129, 118, 122, 122, 122, 122, 122,
- 122, 122, 122, 122, 118, 122, 122, 122, 122, 122,
-
- 118, 122, 122, 122, 118, 122, 122, 118, 118, 122,
- 118, 131, 122, 118, 131, 118, 122, 0, 118, 118,
- 118, 118, 118, 118, 118, 118, 118, 118, 118, 118,
- 118
+ 124, 1, 125, 125, 124, 124, 124, 124, 124, 126,
+ 127, 124, 124, 124, 124, 124, 128, 124, 128, 128,
+ 128, 128, 128, 128, 128, 128, 129, 130, 131, 124,
+ 124, 126, 124, 124, 132, 124, 124, 124, 133, 124,
+ 134, 128, 135, 128, 128, 128, 128, 128, 128, 128,
+ 128, 128, 128, 128, 129, 130, 130, 124, 131, 124,
+ 131, 124, 124, 124, 124, 132, 124, 133, 124, 134,
+ 135, 136, 128, 128, 128, 128, 128, 128, 128, 128,
+ 128, 128, 128, 128, 124, 124, 124, 124, 124, 135,
+ 124, 128, 128, 128, 128, 128, 128, 128, 128, 128,
+
+ 124, 128, 128, 128, 128, 128, 124, 128, 128, 128,
+ 124, 128, 128, 124, 124, 128, 124, 137, 128, 124,
+ 137, 124, 128, 0, 124, 124, 124, 124, 124, 124,
+ 124, 124, 124, 124, 124, 124, 124
} ;
-static yyconst short int yy_nxt[257] =
+static yyconst short int yy_nxt[274] =
{ 0,
6, 7, 8, 7, 9, 10, 11, 6, 12, 13,
- 14, 15, 15, 16, 16, 17, 6, 16, 18, 19,
- 20, 16, 21, 16, 16, 22, 23, 24, 16, 16,
- 16, 25, 16, 16, 16, 6, 6, 27, 27, 28,
- 28, 29, 29, 29, 29, 29, 29, 34, 34, 34,
- 35, 116, 36, 34, 34, 34, 34, 34, 34, 42,
- 44, 37, 43, 48, 45, 117, 54, 49, 55, 57,
- 59, 58, 29, 29, 29, 74, 60, 38, 61, 34,
- 34, 34, 64, 64, 118, 54, 118, 55, 75, 118,
- 118, 118, 58, 81, 64, 64, 109, 109, 116, 109,
-
- 109, 114, 82, 112, 26, 26, 26, 26, 26, 26,
- 31, 31, 31, 31, 31, 31, 33, 33, 39, 39,
- 39, 52, 52, 113, 52, 52, 52, 53, 53, 53,
- 53, 53, 53, 56, 56, 56, 56, 56, 56, 62,
- 62, 62, 63, 111, 63, 63, 63, 63, 65, 65,
- 66, 66, 66, 66, 66, 66, 84, 84, 84, 84,
- 84, 84, 115, 115, 115, 115, 115, 115, 110, 108,
- 107, 106, 105, 104, 103, 102, 101, 100, 99, 98,
- 97, 96, 67, 95, 94, 93, 92, 91, 90, 89,
- 88, 87, 86, 85, 67, 83, 80, 79, 78, 77,
-
- 76, 73, 72, 71, 70, 69, 68, 67, 32, 51,
- 50, 47, 46, 41, 40, 32, 30, 118, 5, 118,
- 118, 118, 118, 118, 118, 118, 118, 118, 118, 118,
- 118, 118, 118, 118, 118, 118, 118, 118, 118, 118,
- 118, 118, 118, 118, 118, 118, 118, 118, 118, 118,
- 118, 118, 118, 118, 118, 118
+ 14, 15, 16, 16, 17, 17, 18, 6, 17, 19,
+ 20, 21, 17, 22, 17, 17, 23, 24, 25, 17,
+ 17, 17, 26, 17, 17, 17, 6, 6, 28, 28,
+ 122, 29, 29, 30, 30, 30, 30, 30, 30, 36,
+ 36, 36, 38, 69, 69, 39, 36, 36, 36, 36,
+ 36, 36, 45, 47, 40, 46, 51, 48, 57, 60,
+ 52, 58, 61, 30, 30, 30, 62, 36, 36, 36,
+ 41, 79, 63, 124, 64, 57, 124, 124, 58, 124,
+ 124, 86, 61, 123, 80, 69, 69, 115, 115, 122,
+
+ 87, 115, 115, 120, 119, 118, 27, 27, 27, 27,
+ 27, 27, 27, 32, 32, 32, 32, 32, 32, 32,
+ 35, 117, 35, 35, 42, 42, 42, 55, 55, 116,
+ 55, 55, 55, 55, 56, 56, 56, 56, 56, 56,
+ 56, 59, 59, 59, 59, 59, 59, 59, 66, 66,
+ 66, 68, 114, 68, 68, 68, 68, 68, 70, 70,
+ 71, 71, 71, 71, 71, 71, 71, 90, 90, 90,
+ 90, 90, 90, 90, 121, 121, 121, 121, 121, 121,
+ 121, 113, 112, 111, 110, 109, 108, 107, 106, 105,
+ 104, 103, 102, 72, 101, 100, 99, 98, 97, 96,
+
+ 95, 94, 93, 92, 91, 72, 89, 88, 85, 84,
+ 83, 82, 81, 78, 77, 76, 75, 74, 73, 72,
+ 67, 65, 33, 54, 53, 50, 49, 44, 43, 37,
+ 34, 33, 31, 124, 5, 124, 124, 124, 124, 124,
+ 124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
+ 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,
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,
- 4, 7, 7, 7, 8, 8, 8, 12, 12, 12,
- 13, 115, 13, 14, 14, 14, 15, 15, 15, 19,
- 20, 14, 19, 23, 20, 113, 27, 23, 27, 28,
- 30, 28, 29, 29, 29, 47, 30, 14, 30, 34,
- 34, 34, 37, 37, 53, 54, 53, 54, 47, 56,
- 58, 56, 58, 60, 64, 64, 106, 106, 112, 109,
-
- 109, 111, 60, 109, 119, 119, 119, 119, 119, 119,
- 120, 120, 120, 120, 120, 120, 121, 121, 122, 122,
- 122, 123, 123, 110, 123, 123, 123, 124, 124, 124,
- 124, 124, 124, 125, 125, 125, 125, 125, 125, 126,
- 126, 126, 127, 108, 127, 127, 127, 127, 128, 128,
- 129, 129, 129, 129, 129, 129, 130, 130, 130, 130,
- 130, 130, 131, 131, 131, 131, 131, 131, 107, 105,
- 103, 102, 101, 100, 99, 98, 95, 94, 93, 91,
- 90, 87, 84, 83, 79, 78, 77, 74, 73, 72,
- 70, 69, 68, 67, 66, 61, 59, 51, 50, 49,
-
- 48, 46, 45, 44, 43, 42, 41, 40, 31, 25,
- 24, 22, 21, 18, 17, 10, 9, 5, 118, 118,
- 118, 118, 118, 118, 118, 118, 118, 118, 118, 118,
- 118, 118, 118, 118, 118, 118, 118, 118, 118, 118,
- 118, 118, 118, 118, 118, 118, 118, 118, 118, 118,
- 118, 118, 118, 118, 118, 118
+ 1, 1, 1, 1, 1, 1, 1, 1, 3, 4,
+ 121, 3, 4, 7, 7, 7, 8, 8, 8, 12,
+ 12, 12, 14, 40, 40, 14, 15, 15, 15, 16,
+ 16, 16, 20, 21, 15, 20, 24, 21, 28, 29,
+ 24, 28, 29, 30, 30, 30, 31, 36, 36, 36,
+ 15, 50, 31, 56, 31, 57, 56, 59, 57, 61,
+ 59, 63, 61, 119, 50, 69, 69, 112, 112, 118,
+
+ 63, 115, 115, 117, 116, 115, 125, 125, 125, 125,
+ 125, 125, 125, 126, 126, 126, 126, 126, 126, 126,
+ 127, 114, 127, 127, 128, 128, 128, 129, 129, 113,
+ 129, 129, 129, 129, 130, 130, 130, 130, 130, 130,
+ 130, 131, 131, 131, 131, 131, 131, 131, 132, 132,
+ 132, 133, 111, 133, 133, 133, 133, 133, 134, 134,
+ 135, 135, 135, 135, 135, 135, 135, 136, 136, 136,
+ 136, 136, 136, 136, 137, 137, 137, 137, 137, 137,
+ 137, 109, 108, 107, 106, 105, 104, 101, 100, 99,
+ 97, 96, 93, 90, 88, 84, 83, 82, 79, 78,
+
+ 77, 75, 74, 73, 72, 71, 65, 64, 62, 54,
+ 53, 52, 51, 49, 48, 47, 46, 45, 44, 43,
+ 37, 34, 32, 26, 25, 23, 22, 19, 18, 13,
+ 11, 10, 9, 5, 124, 124, 124, 124, 124, 124,
+ 124, 124, 124, 124, 124, 124, 124, 124, 124, 124,
+ 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;
@@ -501,7 +506,7 @@ goto find_rule; \
#define YY_MORE_ADJ 0
#define YY_RESTORE_YY_MORE_OFFSET
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
/*===-- FileLexer.l - Scanner for TableGen Files ----------------*- C++ -*-===//
//
@@ -519,7 +524,7 @@ char *yytext;
#define YY_NEVER_INTERACTIVE 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/Support/Streams.h"
#include "Record.h"
@@ -665,7 +670,7 @@ int yywrap(void) {
using namespace llvm;
-#line 669 "Lexer.cpp"
+#line 674 "Lexer.cpp"
/* Macros after this point can all be overridden by user definitions in
* section 1.
@@ -816,10 +821,10 @@ YY_DECL
register char *yy_cp, *yy_bp;
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 )
{
@@ -867,14 +872,14 @@ yy_match:
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 >= 119 )
+ if ( yy_current_state >= 125 )
yy_c = yy_meta[(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_cp;
}
- while ( yy_current_state != 118 );
+ while ( yy_current_state != 124 );
yy_find_action:
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 */
case 1:
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 */ }
YY_BREAK
case 2:
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); }
YY_BREAK
case 3:
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);
return CODEFRAGMENT; }
YY_BREAK
case 4:
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; }
YY_BREAK
case 5:
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; }
YY_BREAK
case 6:
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; }
YY_BREAK
case 7:
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; }
YY_BREAK
case 8:
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; }
YY_BREAK
case 9:
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; }
YY_BREAK
case 10:
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; }
YY_BREAK
case 11:
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; }
YY_BREAK
case 12:
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; }
YY_BREAK
case 13:
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; }
YY_BREAK
case 14:
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; }
YY_BREAK
case 15:
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; }
YY_BREAK
case 16:
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; }
YY_BREAK
case 17:
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; }
YY_BREAK
case 18:
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; }
YY_BREAK
case 19:
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; }
YY_BREAK
case 20:
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; }
YY_BREAK
case 21:
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; }
YY_BREAK
case 22:
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);
return ID; }
YY_BREAK
case 23:
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);
return VARNAME; }
YY_BREAK
case 24:
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);
return STRVAL; }
YY_BREAK
case 25:
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; }
YY_BREAK
case 26:
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 */ }
YY_BREAK
case 27:
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++; }
YY_BREAK
case 28:
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 '/' */
YY_BREAK
case 29:
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 */
YY_BREAK
case 30:
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; }
YY_BREAK
case 31:
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 */
YY_BREAK
case 32:
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); } }
YY_BREAK
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); }
YY_BREAK
case 33:
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]; }
YY_BREAK
case 34:
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_BREAK
-#line 1092 "Lexer.cpp"
+#line 1097 "Lexer.cpp"
case YY_STATE_EOF(INITIAL):
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 )
{
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_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 )
{
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_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 )
*yy_state_ptr++ = yy_current_state;
@@ -1512,7 +1517,7 @@ static int input()
case EOB_ACT_END_OF_FILE:
{
if ( yywrap() )
- return 0;
+ return EOF;
if ( ! yy_did_buffer_switch_on_eof )
YY_NEW_FILE;
@@ -1972,6 +1977,6 @@ int main()
return 0;
}
#endif
-#line 238 "/Volumes/Gir/devel/llvm/llvm.src/utils/TableGen/FileLexer.l"
+#line 238 "/Volumes/Big2/llvm/llvm/utils/TableGen/FileLexer.l"
diff --git a/utils/TableGen/FileLexer.l.cvs b/utils/TableGen/FileLexer.l.cvs
index cc6825f5e0..fa89b8ba04 100644
--- a/utils/TableGen/FileLexer.l.cvs
+++ b/utils/TableGen/FileLexer.l.cvs
@@ -176,7 +176,7 @@ using namespace llvm;
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]+
CodeFragment \[\{([^}]+|\}[^\]])*\}\]
StringVal \"[^"]*\"