|
@@ -300,29 +300,29 @@ static void yy_fatal_error YY_PROTO(( yyconst char msg[] ));
|
|
|
*yy_cp = '\0'; \
|
|
*yy_cp = '\0'; \
|
|
|
yy_c_buf_p = yy_cp;
|
|
yy_c_buf_p = yy_cp;
|
|
|
|
|
|
|
|
-#define YY_NUM_RULES 44
|
|
|
|
|
-#define YY_END_OF_BUFFER 45
|
|
|
|
|
-static yyconst short int yy_accept[173] =
|
|
|
|
|
|
|
+#define YY_NUM_RULES 45
|
|
|
|
|
+#define YY_END_OF_BUFFER 46
|
|
|
|
|
+static yyconst short int yy_accept[180] =
|
|
|
{ 0,
|
|
{ 0,
|
|
|
- 0, 0, 45, 43, 2, 1, 40, 43, 43, 43,
|
|
|
|
|
- 37, 37, 41, 42, 42, 42, 42, 42, 42, 42,
|
|
|
|
|
- 42, 42, 42, 42, 42, 42, 1, 0, 37, 39,
|
|
|
|
|
- 4, 3, 39, 38, 42, 42, 42, 42, 42, 32,
|
|
|
|
|
- 42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
|
|
|
|
|
- 42, 42, 0, 3, 38, 42, 42, 42, 42, 42,
|
|
|
|
|
- 42, 42, 42, 42, 42, 42, 42, 30, 31, 42,
|
|
|
|
|
- 42, 42, 0, 39, 42, 18, 42, 42, 42, 42,
|
|
|
|
|
- 42, 6, 42, 42, 42, 42, 8, 27, 42, 42,
|
|
|
|
|
- 42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
|
|
|
|
|
-
|
|
|
|
|
- 9, 10, 11, 42, 42, 42, 42, 42, 42, 42,
|
|
|
|
|
- 12, 36, 19, 42, 34, 33, 5, 42, 7, 42,
|
|
|
|
|
- 42, 42, 42, 42, 17, 13, 14, 15, 42, 42,
|
|
|
|
|
- 16, 42, 42, 42, 35, 42, 42, 42, 42, 42,
|
|
|
|
|
- 42, 42, 42, 42, 28, 42, 42, 42, 42, 29,
|
|
|
|
|
- 42, 42, 20, 42, 42, 42, 42, 21, 22, 42,
|
|
|
|
|
- 42, 42, 23, 24, 25, 42, 42, 42, 42, 42,
|
|
|
|
|
- 26, 0
|
|
|
|
|
|
|
+ 0, 0, 46, 44, 2, 1, 41, 44, 44, 44,
|
|
|
|
|
+ 38, 38, 42, 43, 43, 43, 43, 43, 43, 43,
|
|
|
|
|
+ 43, 43, 43, 43, 43, 43, 43, 1, 0, 38,
|
|
|
|
|
+ 40, 4, 3, 40, 39, 43, 43, 43, 43, 43,
|
|
|
|
|
+ 33, 43, 43, 43, 43, 43, 43, 43, 43, 43,
|
|
|
|
|
+ 43, 43, 43, 43, 0, 3, 39, 43, 43, 43,
|
|
|
|
|
+ 43, 43, 43, 43, 43, 43, 43, 43, 43, 31,
|
|
|
|
|
+ 32, 43, 43, 43, 43, 0, 40, 43, 19, 43,
|
|
|
|
|
+ 43, 43, 43, 43, 6, 43, 43, 43, 43, 9,
|
|
|
|
|
+ 28, 43, 43, 43, 43, 43, 43, 43, 43, 43,
|
|
|
|
|
+
|
|
|
|
|
+ 43, 43, 43, 43, 10, 11, 12, 43, 43, 43,
|
|
|
|
|
+ 43, 43, 43, 43, 43, 13, 37, 20, 43, 35,
|
|
|
|
|
+ 34, 5, 43, 7, 43, 43, 43, 43, 43, 18,
|
|
|
|
|
+ 43, 14, 15, 16, 43, 43, 17, 43, 43, 43,
|
|
|
|
|
+ 36, 43, 8, 43, 43, 43, 43, 43, 43, 43,
|
|
|
|
|
+ 43, 29, 43, 43, 43, 43, 30, 43, 43, 21,
|
|
|
|
|
+ 43, 43, 43, 43, 22, 23, 43, 43, 43, 24,
|
|
|
|
|
+ 25, 26, 43, 43, 43, 43, 43, 27, 0
|
|
|
} ;
|
|
} ;
|
|
|
|
|
|
|
|
static yyconst int yy_ec[256] =
|
|
static yyconst int yy_ec[256] =
|
|
@@ -366,114 +366,118 @@ static yyconst int yy_meta[43] =
|
|
|
7, 7
|
|
7, 7
|
|
|
} ;
|
|
} ;
|
|
|
|
|
|
|
|
-static yyconst short int yy_base[180] =
|
|
|
|
|
|
|
+static yyconst short int yy_base[187] =
|
|
|
{ 0,
|
|
{ 0,
|
|
|
- 0, 0, 215, 216, 216, 0, 216, 207, 0, 38,
|
|
|
|
|
- 37, 206, 216, 0, 184, 16, 182, 25, 20, 22,
|
|
|
|
|
- 178, 169, 197, 29, 170, 178, 0, 0, 198, 37,
|
|
|
|
|
- 216, 0, 0, 0, 0, 169, 171, 170, 22, 0,
|
|
|
|
|
- 172, 168, 167, 165, 160, 167, 164, 161, 163, 158,
|
|
|
|
|
- 156, 159, 183, 0, 0, 163, 165, 165, 160, 159,
|
|
|
|
|
- 162, 161, 151, 148, 49, 70, 143, 0, 0, 140,
|
|
|
|
|
- 149, 139, 169, 168, 150, 160, 147, 147, 138, 132,
|
|
|
|
|
- 130, 0, 131, 150, 153, 150, 141, 0, 136, 132,
|
|
|
|
|
- 128, 56, 119, 146, 133, 116, 130, 117, 137, 114,
|
|
|
|
|
-
|
|
|
|
|
- 129, 128, 0, 113, 116, 111, 118, 129, 132, 129,
|
|
|
|
|
- 120, 0, 0, 119, 0, 0, 0, 126, 0, 103,
|
|
|
|
|
- 102, 101, 111, 109, 0, 112, 39, 0, 97, 95,
|
|
|
|
|
- 0, 95, 94, 107, 0, 103, 91, 90, 96, 88,
|
|
|
|
|
- 85, 100, 99, 77, 0, 83, 82, 85, 94, 0,
|
|
|
|
|
- 72, 71, 0, 91, 90, 72, 58, 0, 0, 46,
|
|
|
|
|
- 34, 59, 0, 0, 0, 53, 38, 35, 48, 25,
|
|
|
|
|
- 0, 216, 86, 90, 58, 91, 98, 101, 105
|
|
|
|
|
|
|
+ 0, 0, 221, 222, 222, 0, 222, 213, 0, 38,
|
|
|
|
|
+ 37, 212, 222, 0, 190, 16, 188, 25, 20, 22,
|
|
|
|
|
+ 184, 175, 203, 29, 176, 170, 183, 0, 0, 203,
|
|
|
|
|
+ 37, 222, 0, 0, 0, 0, 174, 176, 175, 22,
|
|
|
|
|
+ 0, 177, 173, 172, 170, 165, 172, 169, 166, 168,
|
|
|
|
|
+ 163, 161, 162, 163, 187, 0, 0, 167, 169, 169,
|
|
|
|
|
+ 164, 163, 166, 165, 155, 152, 49, 70, 147, 0,
|
|
|
|
|
+ 0, 144, 153, 155, 142, 172, 171, 153, 163, 150,
|
|
|
|
|
+ 150, 141, 135, 133, 0, 134, 153, 156, 153, 144,
|
|
|
|
|
+ 0, 139, 135, 131, 137, 56, 121, 148, 135, 118,
|
|
|
|
|
+
|
|
|
|
|
+ 132, 119, 139, 116, 131, 130, 0, 115, 118, 113,
|
|
|
|
|
+ 120, 121, 130, 133, 130, 121, 0, 0, 120, 0,
|
|
|
|
|
+ 0, 0, 127, 0, 104, 103, 102, 112, 110, 0,
|
|
|
|
|
+ 108, 112, 39, 0, 97, 95, 0, 95, 94, 107,
|
|
|
|
|
+ 0, 103, 0, 91, 90, 96, 88, 85, 100, 99,
|
|
|
|
|
+ 77, 0, 83, 82, 85, 94, 0, 72, 71, 0,
|
|
|
|
|
+ 91, 90, 72, 58, 0, 0, 46, 34, 59, 0,
|
|
|
|
|
+ 0, 0, 53, 38, 35, 48, 25, 0, 222, 86,
|
|
|
|
|
+ 90, 58, 91, 98, 101, 105
|
|
|
} ;
|
|
} ;
|
|
|
|
|
|
|
|
-static yyconst short int yy_def[180] =
|
|
|
|
|
|
|
+static yyconst short int yy_def[187] =
|
|
|
{ 0,
|
|
{ 0,
|
|
|
- 172, 1, 172, 172, 172, 173, 172, 174, 175, 172,
|
|
|
|
|
- 174, 174, 172, 176, 176, 176, 176, 176, 176, 176,
|
|
|
|
|
- 176, 176, 176, 176, 176, 176, 173, 175, 174, 175,
|
|
|
|
|
- 172, 177, 30, 178, 176, 176, 176, 176, 176, 176,
|
|
|
|
|
- 176, 176, 176, 176, 176, 176, 176, 176, 176, 176,
|
|
|
|
|
- 176, 176, 179, 177, 178, 176, 176, 176, 176, 176,
|
|
|
|
|
- 176, 176, 176, 176, 176, 176, 176, 176, 176, 176,
|
|
|
|
|
- 176, 176, 179, 179, 176, 176, 176, 176, 176, 176,
|
|
|
|
|
- 176, 176, 176, 176, 176, 176, 176, 66, 176, 176,
|
|
|
|
|
- 176, 176, 176, 176, 176, 176, 176, 176, 176, 176,
|
|
|
|
|
-
|
|
|
|
|
- 176, 176, 176, 176, 176, 176, 176, 176, 176, 176,
|
|
|
|
|
- 176, 176, 176, 176, 176, 176, 176, 176, 176, 176,
|
|
|
|
|
- 176, 176, 176, 176, 176, 176, 176, 176, 176, 176,
|
|
|
|
|
- 176, 176, 176, 176, 176, 176, 176, 176, 176, 176,
|
|
|
|
|
- 176, 176, 176, 176, 176, 176, 176, 176, 176, 176,
|
|
|
|
|
- 176, 176, 176, 176, 176, 176, 176, 176, 176, 176,
|
|
|
|
|
- 176, 176, 176, 176, 176, 176, 176, 176, 176, 176,
|
|
|
|
|
- 176, 0, 172, 172, 172, 172, 172, 172, 172
|
|
|
|
|
|
|
+ 179, 1, 179, 179, 179, 180, 179, 181, 182, 179,
|
|
|
|
|
+ 181, 181, 179, 183, 183, 183, 183, 183, 183, 183,
|
|
|
|
|
+ 183, 183, 183, 183, 183, 183, 183, 180, 182, 181,
|
|
|
|
|
+ 182, 179, 184, 31, 185, 183, 183, 183, 183, 183,
|
|
|
|
|
+ 183, 183, 183, 183, 183, 183, 183, 183, 183, 183,
|
|
|
|
|
+ 183, 183, 183, 183, 186, 184, 185, 183, 183, 183,
|
|
|
|
|
+ 183, 183, 183, 183, 183, 183, 183, 183, 183, 183,
|
|
|
|
|
+ 183, 183, 183, 183, 183, 186, 186, 183, 183, 183,
|
|
|
|
|
+ 183, 183, 183, 183, 183, 183, 183, 183, 183, 183,
|
|
|
|
|
+ 68, 183, 183, 183, 183, 183, 183, 183, 183, 183,
|
|
|
|
|
+
|
|
|
|
|
+ 183, 183, 183, 183, 183, 183, 183, 183, 183, 183,
|
|
|
|
|
+ 183, 183, 183, 183, 183, 183, 183, 183, 183, 183,
|
|
|
|
|
+ 183, 183, 183, 183, 183, 183, 183, 183, 183, 183,
|
|
|
|
|
+ 183, 183, 183, 183, 183, 183, 183, 183, 183, 183,
|
|
|
|
|
+ 183, 183, 183, 183, 183, 183, 183, 183, 183, 183,
|
|
|
|
|
+ 183, 183, 183, 183, 183, 183, 183, 183, 183, 183,
|
|
|
|
|
+ 183, 183, 183, 183, 183, 183, 183, 183, 183, 183,
|
|
|
|
|
+ 183, 183, 183, 183, 183, 183, 183, 183, 0, 179,
|
|
|
|
|
+ 179, 179, 179, 179, 179, 179
|
|
|
} ;
|
|
} ;
|
|
|
|
|
|
|
|
-static yyconst short int yy_nxt[259] =
|
|
|
|
|
|
|
+static yyconst short int yy_nxt[265] =
|
|
|
{ 0,
|
|
{ 0,
|
|
|
4, 5, 6, 7, 4, 8, 9, 10, 11, 12,
|
|
4, 5, 6, 7, 4, 8, 9, 10, 11, 12,
|
|
|
12, 12, 12, 12, 12, 12, 13, 14, 14, 14,
|
|
12, 12, 12, 12, 12, 12, 13, 14, 14, 14,
|
|
|
15, 16, 17, 18, 14, 19, 14, 20, 14, 21,
|
|
15, 16, 17, 18, 14, 19, 14, 20, 14, 21,
|
|
|
- 14, 22, 23, 14, 24, 25, 14, 26, 14, 14,
|
|
|
|
|
- 14, 14, 31, 33, 37, 32, 40, 41, 42, 49,
|
|
|
|
|
- 38, 44, 45, 50, 43, 53, 59, 60, 84, 138,
|
|
|
|
|
- 85, 53, 30, 86, 87, 108, 171, 109, 170, 169,
|
|
|
|
|
- 110, 111, 168, 167, 166, 165, 139, 34, 88, 88,
|
|
|
|
|
- 88, 88, 88, 88, 88, 88, 27, 164, 27, 27,
|
|
|
|
|
- 27, 27, 27, 29, 29, 35, 35, 35, 54, 163,
|
|
|
|
|
-
|
|
|
|
|
- 54, 54, 54, 54, 54, 55, 55, 74, 162, 74,
|
|
|
|
|
- 161, 160, 159, 158, 157, 156, 155, 154, 153, 152,
|
|
|
|
|
- 151, 150, 149, 148, 147, 146, 145, 144, 143, 142,
|
|
|
|
|
- 141, 140, 137, 136, 135, 134, 133, 132, 131, 130,
|
|
|
|
|
- 129, 128, 127, 126, 125, 124, 123, 122, 121, 120,
|
|
|
|
|
- 119, 118, 117, 116, 115, 114, 113, 112, 107, 106,
|
|
|
|
|
- 105, 104, 103, 102, 101, 100, 99, 98, 97, 96,
|
|
|
|
|
- 95, 94, 93, 172, 172, 92, 91, 90, 89, 83,
|
|
|
|
|
- 82, 81, 80, 79, 78, 77, 76, 75, 73, 72,
|
|
|
|
|
- 71, 70, 69, 68, 67, 66, 65, 64, 63, 62,
|
|
|
|
|
-
|
|
|
|
|
- 61, 58, 57, 56, 33, 52, 51, 48, 47, 46,
|
|
|
|
|
- 39, 36, 33, 28, 172, 3, 172, 172, 172, 172,
|
|
|
|
|
- 172, 172, 172, 172, 172, 172, 172, 172, 172, 172,
|
|
|
|
|
- 172, 172, 172, 172, 172, 172, 172, 172, 172, 172,
|
|
|
|
|
- 172, 172, 172, 172, 172, 172, 172, 172, 172, 172,
|
|
|
|
|
- 172, 172, 172, 172, 172, 172, 172, 172
|
|
|
|
|
|
|
+ 14, 22, 23, 14, 24, 25, 26, 27, 14, 14,
|
|
|
|
|
+ 14, 14, 32, 34, 38, 33, 41, 42, 43, 50,
|
|
|
|
|
+ 39, 45, 46, 51, 44, 55, 61, 62, 87, 145,
|
|
|
|
|
+ 88, 55, 31, 89, 90, 113, 178, 114, 177, 176,
|
|
|
|
|
+ 115, 116, 175, 174, 173, 172, 146, 35, 91, 91,
|
|
|
|
|
+ 91, 91, 91, 91, 91, 91, 28, 171, 28, 28,
|
|
|
|
|
+ 28, 28, 28, 30, 30, 36, 36, 36, 56, 170,
|
|
|
|
|
+
|
|
|
|
|
+ 56, 56, 56, 56, 56, 57, 57, 77, 169, 77,
|
|
|
|
|
+ 168, 167, 166, 165, 164, 163, 162, 161, 160, 159,
|
|
|
|
|
+ 158, 157, 156, 155, 154, 153, 152, 151, 150, 149,
|
|
|
|
|
+ 148, 147, 144, 143, 142, 141, 140, 139, 138, 137,
|
|
|
|
|
+ 136, 135, 134, 133, 132, 131, 130, 129, 128, 127,
|
|
|
|
|
+ 126, 125, 124, 123, 122, 121, 120, 119, 118, 117,
|
|
|
|
|
+ 112, 111, 110, 109, 108, 107, 106, 105, 104, 103,
|
|
|
|
|
+ 102, 101, 100, 99, 98, 97, 179, 179, 96, 95,
|
|
|
|
|
+ 94, 93, 92, 86, 85, 84, 83, 82, 81, 80,
|
|
|
|
|
+ 79, 78, 76, 75, 74, 73, 72, 71, 70, 69,
|
|
|
|
|
+
|
|
|
|
|
+ 68, 67, 66, 65, 64, 63, 60, 59, 58, 34,
|
|
|
|
|
+ 54, 53, 52, 49, 48, 47, 40, 37, 34, 29,
|
|
|
|
|
+ 179, 3, 179, 179, 179, 179, 179, 179, 179, 179,
|
|
|
|
|
+ 179, 179, 179, 179, 179, 179, 179, 179, 179, 179,
|
|
|
|
|
+ 179, 179, 179, 179, 179, 179, 179, 179, 179, 179,
|
|
|
|
|
+ 179, 179, 179, 179, 179, 179, 179, 179, 179, 179,
|
|
|
|
|
+ 179, 179, 179, 179
|
|
|
} ;
|
|
} ;
|
|
|
|
|
|
|
|
-static yyconst short int yy_chk[259] =
|
|
|
|
|
|
|
+static yyconst short int yy_chk[265] =
|
|
|
{ 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, 1, 1, 1,
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
|
1, 1, 10, 11, 16, 10, 18, 18, 19, 24,
|
|
1, 1, 10, 11, 16, 10, 18, 18, 19, 24,
|
|
|
- 16, 20, 20, 24, 19, 30, 39, 39, 65, 127,
|
|
|
|
|
- 65, 30, 175, 65, 65, 92, 170, 92, 169, 168,
|
|
|
|
|
- 92, 92, 167, 166, 162, 161, 127, 11, 66, 66,
|
|
|
|
|
- 66, 66, 66, 66, 66, 66, 173, 160, 173, 173,
|
|
|
|
|
- 173, 173, 173, 174, 174, 176, 176, 176, 177, 157,
|
|
|
|
|
-
|
|
|
|
|
- 177, 177, 177, 177, 177, 178, 178, 179, 156, 179,
|
|
|
|
|
- 155, 154, 152, 151, 149, 148, 147, 146, 144, 143,
|
|
|
|
|
- 142, 141, 140, 139, 138, 137, 136, 134, 133, 132,
|
|
|
|
|
- 130, 129, 126, 124, 123, 122, 121, 120, 118, 114,
|
|
|
|
|
- 111, 110, 109, 108, 107, 106, 105, 104, 102, 101,
|
|
|
|
|
- 100, 99, 98, 97, 96, 95, 94, 93, 91, 90,
|
|
|
|
|
- 89, 87, 86, 85, 84, 83, 81, 80, 79, 78,
|
|
|
|
|
- 77, 76, 75, 74, 73, 72, 71, 70, 67, 64,
|
|
|
|
|
- 63, 62, 61, 60, 59, 58, 57, 56, 53, 52,
|
|
|
|
|
- 51, 50, 49, 48, 47, 46, 45, 44, 43, 42,
|
|
|
|
|
-
|
|
|
|
|
- 41, 38, 37, 36, 29, 26, 25, 23, 22, 21,
|
|
|
|
|
- 17, 15, 12, 8, 3, 172, 172, 172, 172, 172,
|
|
|
|
|
- 172, 172, 172, 172, 172, 172, 172, 172, 172, 172,
|
|
|
|
|
- 172, 172, 172, 172, 172, 172, 172, 172, 172, 172,
|
|
|
|
|
- 172, 172, 172, 172, 172, 172, 172, 172, 172, 172,
|
|
|
|
|
- 172, 172, 172, 172, 172, 172, 172, 172
|
|
|
|
|
|
|
+ 16, 20, 20, 24, 19, 31, 40, 40, 67, 133,
|
|
|
|
|
+ 67, 31, 182, 67, 67, 96, 177, 96, 176, 175,
|
|
|
|
|
+ 96, 96, 174, 173, 169, 168, 133, 11, 68, 68,
|
|
|
|
|
+ 68, 68, 68, 68, 68, 68, 180, 167, 180, 180,
|
|
|
|
|
+ 180, 180, 180, 181, 181, 183, 183, 183, 184, 164,
|
|
|
|
|
+
|
|
|
|
|
+ 184, 184, 184, 184, 184, 185, 185, 186, 163, 186,
|
|
|
|
|
+ 162, 161, 159, 158, 156, 155, 154, 153, 151, 150,
|
|
|
|
|
+ 149, 148, 147, 146, 145, 144, 142, 140, 139, 138,
|
|
|
|
|
+ 136, 135, 132, 131, 129, 128, 127, 126, 125, 123,
|
|
|
|
|
+ 119, 116, 115, 114, 113, 112, 111, 110, 109, 108,
|
|
|
|
|
+ 106, 105, 104, 103, 102, 101, 100, 99, 98, 97,
|
|
|
|
|
+ 95, 94, 93, 92, 90, 89, 88, 87, 86, 84,
|
|
|
|
|
+ 83, 82, 81, 80, 79, 78, 77, 76, 75, 74,
|
|
|
|
|
+ 73, 72, 69, 66, 65, 64, 63, 62, 61, 60,
|
|
|
|
|
+ 59, 58, 55, 54, 53, 52, 51, 50, 49, 48,
|
|
|
|
|
+
|
|
|
|
|
+ 47, 46, 45, 44, 43, 42, 39, 38, 37, 30,
|
|
|
|
|
+ 27, 26, 25, 23, 22, 21, 17, 15, 12, 8,
|
|
|
|
|
+ 3, 179, 179, 179, 179, 179, 179, 179, 179, 179,
|
|
|
|
|
+ 179, 179, 179, 179, 179, 179, 179, 179, 179, 179,
|
|
|
|
|
+ 179, 179, 179, 179, 179, 179, 179, 179, 179, 179,
|
|
|
|
|
+ 179, 179, 179, 179, 179, 179, 179, 179, 179, 179,
|
|
|
|
|
+ 179, 179, 179, 179
|
|
|
} ;
|
|
} ;
|
|
|
|
|
|
|
|
static yy_state_type yy_last_accepting_state;
|
|
static yy_state_type yy_last_accepting_state;
|
|
@@ -529,6 +533,10 @@ static istream *inp = NULL;
|
|
|
// can print it out for error messages.
|
|
// can print it out for error messages.
|
|
|
static string dc_filename;
|
|
static string dc_filename;
|
|
|
|
|
|
|
|
|
|
+// This is the initial token state returned by the lexer. It allows
|
|
|
|
|
+// the yacc grammar to start from initial points.
|
|
|
|
|
+static int initial_token;
|
|
|
|
|
+
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
// Defining the interface to the lexer.
|
|
// Defining the interface to the lexer.
|
|
@@ -542,6 +550,14 @@ dc_init_lexer(istream &in, const string &filename) {
|
|
|
col_number = 0;
|
|
col_number = 0;
|
|
|
error_count = 0;
|
|
error_count = 0;
|
|
|
warning_count = 0;
|
|
warning_count = 0;
|
|
|
|
|
+ initial_token = START_DC;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+void
|
|
|
|
|
+dc_start_parameter_value() {
|
|
|
|
|
+ /* Set the initial state to begin parsing a parameter value, instead
|
|
|
|
|
+ of at the beginning of the dc file. */
|
|
|
|
|
+ initial_token = START_PARAMETER_VALUE;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
int
|
|
int
|
|
@@ -776,7 +792,7 @@ inline void accept() {
|
|
|
col_number += yyleng;
|
|
col_number += yyleng;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-#line 781 "lex.yy.c"
|
|
|
|
|
|
|
+#line 797 "lex.yy.c"
|
|
|
|
|
|
|
|
/* 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.
|
|
@@ -927,13 +943,18 @@ YY_DECL
|
|
|
register char *yy_cp = NULL, *yy_bp = NULL;
|
|
register char *yy_cp = NULL, *yy_bp = NULL;
|
|
|
register int yy_act;
|
|
register int yy_act;
|
|
|
|
|
|
|
|
-#line 295 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 307 "dcLexer.lxx"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+ if (initial_token != 0) {
|
|
|
|
|
+ int t = initial_token;
|
|
|
|
|
+ initial_token = 0;
|
|
|
|
|
+ return t;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
|
|
|
-#line 938 "lex.yy.c"
|
|
|
|
|
|
|
+#line 959 "lex.yy.c"
|
|
|
|
|
|
|
|
if ( yy_init )
|
|
if ( yy_init )
|
|
|
{
|
|
{
|
|
@@ -984,13 +1005,13 @@ 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 >= 173 )
|
|
|
|
|
|
|
+ if ( yy_current_state >= 180 )
|
|
|
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_cp;
|
|
++yy_cp;
|
|
|
}
|
|
}
|
|
|
- while ( yy_base[yy_current_state] != 216 );
|
|
|
|
|
|
|
+ while ( yy_base[yy_current_state] != 222 );
|
|
|
|
|
|
|
|
yy_find_action:
|
|
yy_find_action:
|
|
|
yy_act = yy_accept[yy_current_state];
|
|
yy_act = yy_accept[yy_current_state];
|
|
@@ -1018,7 +1039,7 @@ do_action: /* This label is used only to access EOF actions. */
|
|
|
|
|
|
|
|
case 1:
|
|
case 1:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 300 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 317 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
// New line. Save a copy of the line so we can print it out for the
|
|
// New line. Save a copy of the line so we can print it out for the
|
|
|
// benefit of the user in case we get an error.
|
|
// benefit of the user in case we get an error.
|
|
@@ -1035,7 +1056,7 @@ YY_RULE_SETUP
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
case 2:
|
|
case 2:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 314 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 331 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
// Eat whitespace.
|
|
// Eat whitespace.
|
|
|
accept();
|
|
accept();
|
|
@@ -1043,7 +1064,7 @@ YY_RULE_SETUP
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
case 3:
|
|
case 3:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 319 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 336 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
// Eat C++-style comments.
|
|
// Eat C++-style comments.
|
|
|
accept();
|
|
accept();
|
|
@@ -1051,7 +1072,7 @@ YY_RULE_SETUP
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
case 4:
|
|
case 4:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 324 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 341 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
// Eat C-style comments.
|
|
// Eat C-style comments.
|
|
|
accept();
|
|
accept();
|
|
@@ -1060,7 +1081,7 @@ YY_RULE_SETUP
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
case 5:
|
|
case 5:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 331 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 348 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
return KW_DCLASS;
|
|
return KW_DCLASS;
|
|
@@ -1068,7 +1089,7 @@ YY_RULE_SETUP
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
case 6:
|
|
case 6:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 336 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 353 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
return KW_FROM;
|
|
return KW_FROM;
|
|
@@ -1076,7 +1097,7 @@ YY_RULE_SETUP
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
case 7:
|
|
case 7:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 341 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 358 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
return KW_IMPORT;
|
|
return KW_IMPORT;
|
|
@@ -1084,159 +1105,167 @@ YY_RULE_SETUP
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
case 8:
|
|
case 8:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 346 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 363 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
- return KW_INT8;
|
|
|
|
|
|
|
+ return KW_TYPEDEF;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
case 9:
|
|
case 9:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 351 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 368 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
- return KW_INT16;
|
|
|
|
|
|
|
+ return KW_INT8;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
case 10:
|
|
case 10:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 356 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 373 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
- return KW_INT32;
|
|
|
|
|
|
|
+ return KW_INT16;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
case 11:
|
|
case 11:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 361 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 378 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
- return KW_INT64;
|
|
|
|
|
|
|
+ return KW_INT32;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
case 12:
|
|
case 12:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 366 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 383 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
- return KW_UINT8;
|
|
|
|
|
|
|
+ return KW_INT64;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
case 13:
|
|
case 13:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 371 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 388 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
- return KW_UINT16;
|
|
|
|
|
|
|
+ return KW_UINT8;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
case 14:
|
|
case 14:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 376 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 393 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
- return KW_UINT32;
|
|
|
|
|
|
|
+ return KW_UINT16;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
case 15:
|
|
case 15:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 381 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 398 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
- return KW_UINT64;
|
|
|
|
|
|
|
+ return KW_UINT32;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
case 16:
|
|
case 16:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 386 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 403 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
- return KW_FLOAT64;
|
|
|
|
|
|
|
+ return KW_UINT64;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
case 17:
|
|
case 17:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 391 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 408 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
- return KW_STRING;
|
|
|
|
|
|
|
+ return KW_FLOAT64;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
case 18:
|
|
case 18:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 396 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 413 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
- return KW_BLOB;
|
|
|
|
|
|
|
+ return KW_STRING;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
case 19:
|
|
case 19:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 401 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 418 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
- return KW_BLOB32;
|
|
|
|
|
|
|
+ return KW_BLOB;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
case 20:
|
|
case 20:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 406 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 423 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
- return KW_INT8ARRAY;
|
|
|
|
|
|
|
+ return KW_BLOB32;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
case 21:
|
|
case 21:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 411 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 428 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
- return KW_INT16ARRAY;
|
|
|
|
|
|
|
+ return KW_INT8ARRAY;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
case 22:
|
|
case 22:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 416 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 433 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
- return KW_INT32ARRAY;
|
|
|
|
|
|
|
+ return KW_INT16ARRAY;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
case 23:
|
|
case 23:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 421 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 438 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
- return KW_UINT8ARRAY;
|
|
|
|
|
|
|
+ return KW_INT32ARRAY;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
case 24:
|
|
case 24:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 426 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 443 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
- return KW_UINT16ARRAY;
|
|
|
|
|
|
|
+ return KW_UINT8ARRAY;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
case 25:
|
|
case 25:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 431 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 448 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
- return KW_UINT32ARRAY;
|
|
|
|
|
|
|
+ return KW_UINT16ARRAY;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
case 26:
|
|
case 26:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 436 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 453 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
- return KW_UINT32UINT8ARRAY;
|
|
|
|
|
|
|
+ return KW_UINT32ARRAY;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
case 27:
|
|
case 27:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 441 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 458 "dcLexer.lxx"
|
|
|
|
|
+{
|
|
|
|
|
+ accept();
|
|
|
|
|
+ return KW_UINT32UINT8ARRAY;
|
|
|
|
|
+}
|
|
|
|
|
+ YY_BREAK
|
|
|
|
|
+case 28:
|
|
|
|
|
+YY_RULE_SETUP
|
|
|
|
|
+#line 463 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
// A molecular keyword.
|
|
// A molecular keyword.
|
|
|
accept();
|
|
accept();
|
|
@@ -1245,81 +1274,81 @@ YY_RULE_SETUP
|
|
|
return KW_MOL;
|
|
return KW_MOL;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
-case 28:
|
|
|
|
|
|
|
+case 29:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 449 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 471 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
return KW_REQUIRED;
|
|
return KW_REQUIRED;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
-case 29:
|
|
|
|
|
|
|
+case 30:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 454 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 476 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
return KW_BROADCAST;
|
|
return KW_BROADCAST;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
-case 30:
|
|
|
|
|
|
|
+case 31:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 459 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 481 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
return KW_P2P;
|
|
return KW_P2P;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
-case 31:
|
|
|
|
|
|
|
+case 32:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 464 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 486 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
return KW_RAM;
|
|
return KW_RAM;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
-case 32:
|
|
|
|
|
|
|
+case 33:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 469 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 491 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
return KW_DB;
|
|
return KW_DB;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
-case 33:
|
|
|
|
|
|
|
+case 34:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 474 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 496 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
return KW_CLSEND;
|
|
return KW_CLSEND;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
-case 34:
|
|
|
|
|
|
|
+case 35:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 479 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 501 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
return KW_CLRECV;
|
|
return KW_CLRECV;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
-case 35:
|
|
|
|
|
|
|
+case 36:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 484 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 506 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
return KW_OWNSEND;
|
|
return KW_OWNSEND;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
-case 36:
|
|
|
|
|
|
|
+case 37:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 489 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 511 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
accept();
|
|
accept();
|
|
|
return KW_AIRECV;
|
|
return KW_AIRECV;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
-case 37:
|
|
|
|
|
|
|
+case 38:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 494 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 516 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
// An integer number.
|
|
// An integer number.
|
|
|
accept();
|
|
accept();
|
|
@@ -1328,9 +1357,9 @@ YY_RULE_SETUP
|
|
|
return INTEGER;
|
|
return INTEGER;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
-case 38:
|
|
|
|
|
|
|
+case 39:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 502 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 524 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
// A hexadecimal integer number.
|
|
// A hexadecimal integer number.
|
|
|
accept();
|
|
accept();
|
|
@@ -1339,9 +1368,9 @@ YY_RULE_SETUP
|
|
|
return INTEGER;
|
|
return INTEGER;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
-case 39:
|
|
|
|
|
|
|
+case 40:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 510 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 532 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
// A floating-point number.
|
|
// A floating-point number.
|
|
|
accept();
|
|
accept();
|
|
@@ -1350,9 +1379,9 @@ YY_RULE_SETUP
|
|
|
return REAL;
|
|
return REAL;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
-case 40:
|
|
|
|
|
|
|
+case 41:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 518 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 540 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
// Quoted string.
|
|
// Quoted string.
|
|
|
accept();
|
|
accept();
|
|
@@ -1360,9 +1389,9 @@ YY_RULE_SETUP
|
|
|
return STRING;
|
|
return STRING;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
-case 41:
|
|
|
|
|
|
|
+case 42:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 525 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 547 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
// Long hex string.
|
|
// Long hex string.
|
|
|
accept();
|
|
accept();
|
|
@@ -1370,9 +1399,9 @@ YY_RULE_SETUP
|
|
|
return HEX_STRING;
|
|
return HEX_STRING;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
-case 42:
|
|
|
|
|
|
|
+case 43:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 532 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 554 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
// Identifier.
|
|
// Identifier.
|
|
|
accept();
|
|
accept();
|
|
@@ -1380,21 +1409,21 @@ YY_RULE_SETUP
|
|
|
return IDENTIFIER;
|
|
return IDENTIFIER;
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
-case 43:
|
|
|
|
|
|
|
+case 44:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 540 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 562 "dcLexer.lxx"
|
|
|
{
|
|
{
|
|
|
// Send any other printable character as itself.
|
|
// Send any other printable character as itself.
|
|
|
accept();
|
|
accept();
|
|
|
return dcyytext[0];
|
|
return dcyytext[0];
|
|
|
}
|
|
}
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
-case 44:
|
|
|
|
|
|
|
+case 45:
|
|
|
YY_RULE_SETUP
|
|
YY_RULE_SETUP
|
|
|
-#line 546 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 568 "dcLexer.lxx"
|
|
|
ECHO;
|
|
ECHO;
|
|
|
YY_BREAK
|
|
YY_BREAK
|
|
|
-#line 1399 "lex.yy.c"
|
|
|
|
|
|
|
+#line 1428 "lex.yy.c"
|
|
|
case YY_STATE_EOF(INITIAL):
|
|
case YY_STATE_EOF(INITIAL):
|
|
|
yyterminate();
|
|
yyterminate();
|
|
|
|
|
|
|
@@ -1686,7 +1715,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 >= 173 )
|
|
|
|
|
|
|
+ if ( yy_current_state >= 180 )
|
|
|
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];
|
|
@@ -1721,11 +1750,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 >= 173 )
|
|
|
|
|
|
|
+ if ( yy_current_state >= 180 )
|
|
|
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 == 172);
|
|
|
|
|
|
|
+ yy_is_jam = (yy_current_state == 179);
|
|
|
|
|
|
|
|
return yy_is_jam ? 0 : yy_current_state;
|
|
return yy_is_jam ? 0 : yy_current_state;
|
|
|
}
|
|
}
|
|
@@ -2275,4 +2304,4 @@ int main()
|
|
|
return 0;
|
|
return 0;
|
|
|
}
|
|
}
|
|
|
#endif
|
|
#endif
|
|
|
-#line 546 "dcLexer.lxx"
|
|
|
|
|
|
|
+#line 568 "dcLexer.lxx"
|