#define YY_FLEX_MINOR_VERSION 5
#include <stdio.h>
+#include <unistd.h>
/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
#ifdef __cplusplus
#include <stdlib.h>
-#include <unistd.h>
/* Use prototypes in function declarations. */
#define YY_USE_PROTOS
*yy_cp = '\0'; \
yy_c_buf_p = yy_cp;
-#define YY_NUM_RULES 88
-#define YY_END_OF_BUFFER 89
-static yyconst short int yy_acclist[399] =
+#define YY_NUM_RULES 89
+#define YY_END_OF_BUFFER 90
+static yyconst short int yy_acclist[420] =
{ 0,
- 89, 86, 88, 85, 86, 88, 1, 87, 88, 86,
- 87, 88, 86, 88, 86, 88, 85, 86, 88, 86,
- 88, 86, 88, 26, 86, 88, 1, 27, 87, 88,
- 26, 86, 87, 88, 26, 86, 88, 26, 86, 88,
- 49, 86, 88, 1, 50, 87, 88, 49, 86, 87,
- 88, 42, 49, 86, 88, 49, 86, 88, 49, 86,
- 88, 49, 86, 88, 47, 49, 86, 88, 48, 49,
- 86, 88, 49, 86, 88, 49, 86, 88, 45, 86,
- 88, 1, 46, 87, 88, 45, 86, 87, 88, 44,
- 45, 86, 88, 45, 86, 88, 86, 88, 86, 88,
-
- 80, 86, 88, 80, 86, 88, 80, 86, 88, 80,
- 86, 88, 82, 86, 88, 86, 88, 86, 88, 77,
- 86, 88, 77, 86, 88, 86, 88, 80, 86, 88,
- 80, 86, 88, 80, 86, 88, 80, 86, 88, 80,
- 86, 88, 80, 86, 88, 80, 86, 88, 80, 86,
- 88, 80, 86, 88, 80, 86, 88, 80, 86, 88,
- 80, 86, 88, 83, 86, 88, 84, 86, 88, 9,
- 86, 88, 9, 86, 87, 88, 9, 86, 88, 9,
- 86, 88, 9, 86, 88, 14, 86, 88, 14, 86,
- 87, 88, 14, 86, 88, 14, 86, 88, 14, 86,
-
- 88, 17, 86, 88, 17, 86, 87, 88, 17, 86,
- 88, 21, 33, 25, 22, 41, 34, 43, 23, 79,
- 80, 78, 80, 80, 80, 77, 24, 77, 77, 81,
- 80, 80, 80, 80, 80, 80, 80, 80, 80, 80,
- 80, 80, 80, 80, 80, 80, 80, 80, 8, 6,
- 13, 10, 12, 11, 13, 16, 15, 3, 28, 32,
- 39, 35, 37, 18, 19, 79, 79, 78, 80, 80,
- 80, 68, 77, 20, 77, 77, 80, 80, 80, 80,
- 80, 80, 80, 63, 80, 80, 80, 80, 80, 80,
- 80, 80, 80, 80, 80, 80, 80, 11, 29, 30,
-
- 31, 40, 36, 38, 79, 80, 54, 80, 53, 80,
- 5, 80, 66, 80, 80, 80, 80, 58, 80, 80,
- 61, 80, 80, 80, 80, 80, 80, 80, 80, 80,
- 80, 80, 55, 80, 7, 51, 80, 53, 80, 67,
- 80, 80, 64, 80, 80, 80, 80, 80, 62, 80,
- 80, 80, 80, 57, 80, 80, 80, 80, 80, 65,
- 80, 80, 80, 80, 69, 80, 75, 80, 59, 80,
- 56, 80, 80, 80, 80, 80, 80, 70, 80, 80,
- 80, 74, 80, 73, 80, 80, 76, 80, 80, 60,
- 80, 72, 80, 71, 80, 2, 4, 52
-
+ 90, 87, 89, 86, 87, 89, 1, 88, 89, 87,
+ 88, 89, 87, 89, 87, 89, 86, 87, 89, 87,
+ 89, 87, 89, 87, 89, 27, 87, 89, 1, 28,
+ 88, 89, 27, 87, 88, 89, 27, 87, 89, 27,
+ 87, 89, 27, 87, 89, 50, 87, 89, 1, 51,
+ 88, 89, 50, 87, 88, 89, 43, 50, 87, 89,
+ 50, 87, 89, 50, 87, 89, 50, 87, 89, 48,
+ 50, 87, 89, 49, 50, 87, 89, 50, 87, 89,
+ 50, 87, 89, 46, 87, 89, 1, 47, 88, 89,
+ 46, 87, 88, 89, 45, 46, 87, 89, 46, 87,
+
+ 89, 46, 87, 89, 87, 89, 87, 89, 78, 87,
+ 89, 78, 87, 89, 87, 89, 81, 87, 89, 81,
+ 87, 89, 81, 87, 89, 81, 87, 89, 83, 87,
+ 89, 87, 89, 87, 89, 87, 89, 81, 87, 89,
+ 81, 87, 89, 81, 87, 89, 81, 87, 89, 81,
+ 87, 89, 81, 87, 89, 81, 87, 89, 81, 87,
+ 89, 81, 87, 89, 81, 87, 89, 81, 87, 89,
+ 81, 87, 89, 84, 87, 89, 85, 87, 89, 10,
+ 87, 89, 10, 87, 88, 89, 10, 87, 89, 10,
+ 87, 89, 10, 87, 89, 10, 87, 89, 15, 87,
+
+ 89, 15, 87, 88, 89, 15, 87, 89, 15, 87,
+ 89, 15, 87, 89, 15, 87, 89, 18, 87, 89,
+ 18, 87, 88, 89, 18, 87, 89, 18, 87, 89,
+ 22, 34, 26, 23, 42, 35, 44, 78, 24, 78,
+ 78, 80, 81, 79, 81, 81, 81, 25, 82, 81,
+ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
+ 81, 81, 81, 81, 81, 81, 81, 9, 7, 14,
+ 11, 13, 12, 14, 17, 16, 3, 29, 33, 40,
+ 36, 38, 19, 78, 20, 78, 78, 80, 80, 79,
+ 81, 81, 81, 69, 21, 81, 81, 81, 81, 81,
+
+ 81, 81, 64, 81, 81, 81, 81, 81, 81, 81,
+ 81, 81, 81, 81, 81, 81, 12, 30, 31, 32,
+ 41, 37, 39, 80, 81, 55, 81, 54, 81, 6,
+ 81, 67, 81, 81, 81, 81, 59, 81, 81, 62,
+ 81, 81, 81, 81, 81, 81, 81, 81, 81, 81,
+ 81, 56, 81, 8, 52, 81, 54, 81, 68, 81,
+ 81, 65, 81, 81, 81, 81, 81, 63, 81, 81,
+ 81, 81, 58, 81, 81, 81, 81, 81, 66, 81,
+ 81, 81, 81, 70, 81, 76, 81, 60, 81, 57,
+ 81, 81, 81, 4, 81, 81, 81, 71, 81, 81,
+
+ 81, 75, 81, 74, 81, 81, 77, 81, 81, 61,
+ 81, 73, 81, 72, 81, 4, 2, 5, 53
} ;
-static yyconst short int yy_accept[358] =
+static yyconst short int yy_accept[376] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
- 4, 7, 10, 13, 15, 17, 20, 22, 24, 27,
- 31, 35, 38, 41, 44, 48, 52, 56, 59, 62,
- 65, 69, 73, 76, 79, 82, 86, 90, 94, 97,
- 99, 101, 104, 107, 110, 113, 116, 118, 120, 123,
- 126, 128, 131, 134, 137, 140, 143, 146, 149, 152,
- 155, 158, 161, 164, 167, 170, 173, 177, 180, 183,
- 186, 189, 193, 196, 199, 202, 205, 209, 212, 213,
- 213, 213, 213, 213, 213, 213, 213, 214, 214, 215,
-
- 215, 215, 215, 215, 215, 216, 216, 217, 217, 217,
- 218, 219, 220, 220, 221, 222, 223, 224, 225, 226,
- 226, 227, 228, 228, 228, 229, 229, 229, 230, 230,
- 230, 231, 232, 233, 234, 235, 236, 237, 238, 239,
- 240, 241, 242, 243, 244, 245, 246, 247, 248, 249,
- 250, 250, 250, 250, 251, 251, 252, 252, 252, 252,
- 253, 254, 254, 256, 257, 258, 258, 259, 259, 259,
- 259, 260, 260, 260, 261, 261, 261, 261, 261, 262,
- 262, 262, 262, 263, 264, 264, 265, 265, 265, 266,
- 267, 268, 269, 270, 271, 272, 273, 274, 274, 274,
-
- 275, 276, 277, 277, 277, 278, 279, 280, 281, 282,
- 283, 284, 286, 287, 288, 289, 290, 291, 292, 293,
- 294, 295, 296, 297, 298, 298, 299, 299, 299, 300,
- 300, 301, 302, 302, 302, 302, 303, 304, 305, 305,
- 306, 307, 309, 311, 311, 312, 313, 315, 316, 317,
- 318, 320, 321, 323, 324, 325, 326, 327, 328, 329,
- 330, 331, 332, 333, 335, 335, 336, 336, 336, 337,
- 337, 337, 337, 337, 337, 337, 338, 340, 342, 343,
- 345, 346, 347, 348, 349, 351, 352, 353, 354, 356,
- 357, 358, 358, 358, 358, 358, 358, 358, 359, 360,
-
- 362, 363, 364, 365, 367, 369, 371, 373, 374, 375,
- 375, 375, 375, 375, 375, 376, 377, 378, 380, 381,
- 382, 384, 384, 384, 384, 384, 384, 386, 387, 389,
- 390, 392, 392, 392, 392, 392, 392, 392, 394, 396,
- 396, 396, 396, 397, 397, 397, 397, 397, 398, 398,
- 398, 398, 398, 398, 398, 399, 399
+ 4, 7, 10, 13, 15, 17, 20, 22, 24, 26,
+ 29, 33, 37, 40, 43, 46, 49, 53, 57, 61,
+ 64, 67, 70, 74, 78, 81, 84, 87, 91, 95,
+ 99, 102, 105, 107, 109, 112, 115, 117, 120, 123,
+ 126, 129, 132, 134, 136, 138, 141, 144, 147, 150,
+ 153, 156, 159, 162, 165, 168, 171, 174, 177, 180,
+ 183, 187, 190, 193, 196, 199, 202, 206, 209, 212,
+ 215, 218, 221, 225, 228, 231, 232, 232, 232, 232,
+
+ 232, 232, 232, 232, 232, 232, 233, 233, 234, 234,
+ 234, 234, 234, 234, 235, 235, 236, 236, 236, 237,
+ 238, 239, 240, 240, 240, 241, 241, 241, 242, 243,
+ 244, 245, 246, 247, 248, 248, 249, 249, 249, 249,
+ 250, 251, 252, 253, 254, 255, 256, 257, 258, 259,
+ 260, 261, 262, 263, 264, 265, 266, 267, 268, 269,
+ 269, 269, 269, 270, 270, 271, 271, 271, 271, 272,
+ 273, 273, 275, 276, 277, 277, 278, 278, 278, 278,
+ 278, 279, 279, 279, 280, 280, 280, 280, 280, 281,
+ 281, 281, 281, 282, 283, 283, 284, 284, 285, 285,
+
+ 286, 287, 288, 289, 290, 291, 292, 293, 294, 295,
+ 295, 295, 296, 296, 296, 297, 298, 299, 300, 301,
+ 302, 303, 305, 306, 307, 308, 309, 310, 311, 312,
+ 313, 314, 315, 316, 317, 317, 318, 318, 318, 318,
+ 319, 319, 320, 321, 321, 321, 321, 322, 323, 324,
+ 324, 325, 326, 328, 330, 330, 331, 332, 334, 335,
+ 336, 337, 339, 340, 342, 343, 344, 345, 346, 347,
+ 348, 349, 350, 351, 352, 354, 354, 355, 355, 355,
+ 356, 356, 356, 356, 356, 356, 356, 356, 357, 359,
+ 361, 362, 364, 365, 366, 367, 368, 370, 371, 372,
+
+ 373, 375, 376, 377, 377, 377, 377, 377, 377, 377,
+ 377, 378, 379, 381, 382, 383, 384, 386, 388, 390,
+ 392, 393, 394, 395, 395, 395, 395, 395, 395, 396,
+ 397, 398, 400, 401, 402, 404, 404, 404, 404, 404,
+ 404, 404, 406, 407, 409, 410, 412, 412, 412, 412,
+ 412, 412, 412, 412, 414, 416, 416, 417, 417, 417,
+ 417, 418, 418, 418, 418, 418, 419, 419, 419, 419,
+ 419, 419, 419, 420, 420
} ;
static yyconst int yy_ec[256] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
- 1, 1, 4, 1, 1, 1, 1, 1, 1, 1,
+ 1, 4, 5, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 5, 1, 6, 7, 1, 8, 1, 9, 10,
- 11, 12, 1, 1, 1, 13, 14, 15, 16, 17,
- 17, 17, 17, 17, 17, 18, 18, 19, 1, 20,
- 1, 21, 1, 1, 22, 22, 22, 22, 23, 22,
- 24, 24, 25, 24, 24, 24, 24, 24, 24, 24,
- 24, 26, 27, 24, 24, 24, 24, 24, 24, 24,
- 28, 29, 30, 1, 24, 1, 31, 32, 33, 34,
-
- 35, 36, 37, 38, 39, 24, 24, 40, 41, 42,
- 43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
- 24, 24, 53, 1, 54, 1, 1, 1, 1, 1,
+ 1, 6, 1, 7, 8, 1, 9, 1, 10, 11,
+ 12, 13, 1, 1, 1, 14, 15, 16, 17, 18,
+ 18, 18, 18, 18, 18, 19, 19, 20, 1, 21,
+ 1, 22, 1, 1, 23, 23, 23, 23, 24, 23,
+ 25, 25, 26, 25, 25, 25, 25, 25, 25, 25,
+ 25, 27, 28, 25, 25, 25, 25, 25, 25, 25,
+ 29, 30, 31, 1, 25, 1, 32, 33, 34, 35,
+
+ 36, 37, 38, 39, 40, 25, 25, 41, 42, 43,
+ 44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
+ 25, 25, 54, 1, 55, 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
} ;
-static yyconst int yy_meta[55] =
+static yyconst int yy_meta[56] =
{ 0,
- 1, 2, 3, 1, 2, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 4, 4, 4, 4, 5, 1,
- 1, 6, 6, 7, 7, 7, 7, 1, 1, 8,
- 6, 6, 6, 6, 6, 6, 7, 7, 7, 7,
- 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7, 7, 1, 1
+ 1, 2, 3, 4, 4, 2, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 5, 5, 5, 5, 6,
+ 1, 1, 7, 7, 8, 8, 8, 8, 1, 1,
+ 9, 7, 7, 7, 7, 7, 7, 8, 8, 8,
+ 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
+ 8, 8, 8, 1, 1
} ;
-static yyconst short int yy_base[383] =
+static yyconst short int yy_base[402] =
{ 0,
- 0, 4, 7, 13, 17, 69, 24, 36, 123, 0,
- 165, 0, 31, 52, 48, 77, 55, 81, 848, 849,
- 849, 849, 849, 1, 807, 42, 56, 811, 849, 849,
- 849, 831, 817, 849, 849, 849, 849, 57, 10, 0,
- 849, 849, 27, 789, 849, 849, 849, 849, 0, 78,
- 0, 823, 22, 49, 77, 849, 86, 93, 171, 101,
- 209, 171, 173, 26, 55, 72, 178, 187, 172, 183,
- 202, 191, 209, 849, 849, 849, 849, 827, 232, 233,
- 849, 849, 826, 241, 252, 836, 835, 228, 849, 834,
- 805, 254, 800, 220, 210, 75, 849, 789, 849, 0,
-
- 824, 243, 823, 822, 849, 827, 849, 260, 787, 849,
- 849, 849, 825, 808, 807, 806, 17, 232, 242, 811,
- 254, 811, 819, 261, 267, 273, 0, 288, 277, 791,
- 792, 166, 30, 89, 268, 279, 283, 290, 289, 292,
- 294, 296, 175, 293, 301, 295, 303, 297, 305, 849,
- 343, 316, 344, 849, 349, 849, 351, 355, 359, 849,
- 363, 805, 849, 849, 849, 815, 849, 770, 776, 762,
- 849, 783, 760, 849, 759, 772, 761, 783, 849, 799,
- 798, 797, 849, 849, 802, 849, 771, 800, 849, 783,
- 782, 781, 312, 351, 352, 849, 357, 374, 796, 849,
-
- 365, 0, 768, 370, 359, 365, 370, 371, 298, 372,
- 374, 778, 375, 376, 377, 378, 379, 382, 383, 384,
- 387, 385, 388, 306, 418, 849, 749, 361, 849, 761,
- 849, 849, 744, 754, 767, 849, 849, 849, 751, 771,
- 391, 770, 769, 429, 849, 410, 768, 396, 397, 416,
- 767, 420, 766, 421, 422, 423, 425, 427, 428, 429,
- 430, 433, 431, 765, 452, 849, 471, 476, 849, 740,
- 747, 750, 734, 0, 730, 442, 441, 759, 447, 758,
- 446, 450, 464, 467, 757, 465, 468, 469, 756, 452,
- 470, 730, 727, 724, 736, 742, 723, 472, 474, 723,
-
- 476, 477, 480, 722, 716, 713, 674, 484, 485, 458,
- 644, 619, 648, 560, 488, 489, 496, 575, 497, 490,
- 574, 549, 553, 321, 504, 524, 570, 499, 566, 508,
- 555, 520, 527, 528, 522, 536, 529, 531, 308, 243,
- 542, 550, 849, 535, 233, 554, 542, 849, 160, 560,
- 60, 564, 581, 585, 849, 849, 599, 607, 615, 623,
- 631, 639, 647, 655, 663, 666, 670, 674, 682, 690,
- 698, 706, 711, 715, 722, 727, 730, 737, 741, 747,
- 754, 762
+ 0, 33, 4, 5, 17, 78, 16, 46, 133, 919,
+ 175, 918, 47, 53, 60, 89, 65, 93, 925, 928,
+ 928, 928, 928, 1, 883, 27, 38, 30, 887, 928,
+ 928, 928, 907, 190, 893, 928, 928, 928, 928, 70,
+ 13, 0, 928, 928, 192, 865, 928, 928, 928, 928,
+ 0, 193, 93, 30, 221, 99, 0, 899, 62, 10,
+ 84, 928, 112, 92, 225, 171, 183, 70, 79, 173,
+ 185, 177, 69, 216, 228, 226, 231, 928, 928, 928,
+ 928, 903, 200, 243, 255, 928, 928, 902, 270, 248,
+ 279, 913, 912, 244, 284, 928, 911, 881, 258, 876,
+
+ 289, 871, 224, 244, 80, 928, 864, 928, 0, 899,
+ 245, 898, 897, 928, 903, 928, 295, 862, 928, 928,
+ 290, 928, 901, 294, 300, 310, 0, 323, 883, 882,
+ 881, 283, 235, 282, 886, 886, 895, 315, 866, 867,
+ 300, 323, 324, 325, 301, 303, 327, 328, 329, 181,
+ 330, 332, 334, 337, 338, 339, 341, 340, 928, 360,
+ 361, 380, 928, 387, 928, 389, 394, 402, 928, 408,
+ 880, 928, 928, 928, 891, 928, 845, 849, 850, 836,
+ 928, 857, 834, 928, 833, 846, 835, 857, 928, 873,
+ 872, 871, 928, 928, 877, 928, 845, 399, 875, 928,
+
+ 403, 0, 857, 856, 855, 364, 356, 379, 928, 422,
+ 871, 928, 842, 413, 383, 393, 386, 403, 361, 406,
+ 415, 852, 416, 417, 418, 419, 421, 423, 349, 422,
+ 429, 425, 426, 432, 454, 928, 823, 834, 401, 928,
+ 834, 928, 928, 817, 827, 840, 928, 928, 928, 824,
+ 844, 433, 843, 842, 474, 928, 441, 835, 438, 439,
+ 443, 827, 446, 826, 451, 458, 268, 459, 462, 465,
+ 469, 467, 471, 472, 817, 502, 928, 510, 512, 928,
+ 494, 786, 785, 788, 772, 0, 763, 487, 473, 773,
+ 497, 747, 486, 482, 500, 501, 732, 499, 504, 507,
+
+ 718, 508, 509, 530, 684, 612, 609, 621, 632, 620,
+ 517, 518, 634, 522, 523, 524, 633, 631, 617, 607,
+ 525, 530, 560, 514, 590, 577, 608, 575, 532, 534,
+ 544, 585, 547, 535, 584, 588, 549, 546, 580, 570,
+ 588, 554, 555, 552, 564, 545, 546, 449, 365, 590,
+ 584, 598, 4, 276, 242, 246, 928, 176, 604, 612,
+ 928, 590, 165, 616, 591, 928, 85, 622, 17, 626,
+ 644, 646, 928, 928, 663, 672, 681, 690, 699, 708,
+ 717, 726, 735, 738, 742, 746, 755, 764, 773, 782,
+ 787, 790, 794, 802, 807, 815, 819, 826, 834, 843,
+
+ 852
} ;
-static yyconst short int yy_def[383] =
+static yyconst short int yy_def[402] =
{ 0,
- 357, 357, 358, 358, 359, 359, 360, 360, 356, 9,
- 9, 11, 361, 361, 362, 362, 363, 363, 356, 356,
- 356, 356, 356, 356, 356, 356, 356, 356, 356, 356,
- 356, 356, 356, 356, 356, 356, 356, 356, 356, 364,
- 356, 356, 356, 356, 356, 356, 356, 356, 365, 356,
- 366, 367, 367, 367, 367, 356, 356, 356, 356, 356,
- 368, 367, 367, 367, 367, 367, 367, 367, 367, 367,
- 367, 367, 367, 356, 356, 356, 356, 356, 356, 356,
- 356, 356, 356, 356, 356, 356, 356, 356, 356, 369,
- 356, 356, 356, 356, 356, 356, 356, 356, 356, 370,
-
- 356, 356, 356, 356, 356, 371, 356, 356, 356, 356,
- 356, 356, 372, 373, 367, 374, 367, 367, 367, 356,
- 356, 356, 375, 356, 356, 356, 376, 356, 356, 377,
- 356, 367, 367, 367, 367, 367, 367, 367, 367, 367,
- 367, 367, 367, 367, 367, 367, 367, 367, 367, 356,
- 356, 356, 356, 356, 378, 356, 356, 356, 356, 356,
- 356, 356, 356, 356, 356, 369, 356, 356, 356, 356,
- 356, 356, 356, 356, 356, 356, 356, 356, 356, 356,
- 356, 356, 356, 356, 371, 356, 356, 372, 356, 373,
- 379, 374, 367, 367, 367, 356, 356, 356, 375, 356,
-
- 356, 376, 377, 368, 367, 367, 367, 367, 367, 367,
- 367, 367, 367, 367, 367, 367, 367, 367, 367, 367,
- 367, 367, 367, 367, 380, 356, 356, 356, 356, 356,
- 356, 356, 356, 356, 356, 356, 356, 356, 356, 379,
- 367, 367, 367, 356, 356, 367, 367, 367, 367, 367,
- 367, 367, 367, 367, 367, 367, 367, 367, 367, 367,
- 367, 367, 367, 367, 356, 356, 380, 356, 356, 356,
- 356, 356, 356, 381, 356, 367, 367, 367, 367, 367,
- 367, 367, 367, 367, 367, 367, 367, 367, 367, 367,
- 367, 356, 356, 356, 356, 356, 356, 367, 367, 367,
-
- 367, 367, 367, 367, 367, 367, 367, 367, 367, 356,
- 356, 356, 356, 356, 367, 367, 367, 367, 367, 367,
- 367, 356, 356, 356, 356, 356, 367, 367, 367, 367,
- 367, 356, 356, 356, 356, 356, 356, 367, 367, 356,
- 356, 356, 356, 382, 356, 356, 382, 356, 356, 356,
- 356, 356, 356, 356, 356, 0, 356, 356, 356, 356,
- 356, 356, 356, 356, 356, 356, 356, 356, 356, 356,
- 356, 356, 356, 356, 356, 356, 356, 356, 356, 356,
- 356, 356
+ 375, 375, 376, 376, 377, 377, 378, 378, 374, 9,
+ 9, 11, 379, 379, 380, 380, 381, 381, 374, 374,
+ 374, 374, 374, 374, 374, 374, 374, 374, 374, 374,
+ 374, 374, 374, 374, 374, 374, 374, 374, 374, 374,
+ 374, 382, 374, 374, 374, 374, 374, 374, 374, 374,
+ 383, 374, 374, 374, 374, 374, 384, 385, 385, 385,
+ 385, 374, 374, 374, 386, 385, 385, 385, 385, 385,
+ 385, 385, 385, 385, 385, 385, 385, 374, 374, 374,
+ 374, 374, 374, 374, 374, 374, 374, 374, 374, 374,
+ 374, 374, 374, 374, 374, 374, 387, 374, 374, 374,
+
+ 374, 374, 374, 374, 374, 374, 374, 374, 388, 374,
+ 374, 374, 374, 374, 389, 374, 374, 374, 374, 374,
+ 374, 374, 390, 374, 374, 374, 391, 374, 392, 385,
+ 393, 385, 385, 385, 374, 374, 394, 374, 395, 374,
+ 385, 385, 385, 385, 385, 385, 385, 385, 385, 385,
+ 385, 385, 385, 385, 385, 385, 385, 385, 374, 374,
+ 374, 374, 374, 396, 374, 374, 374, 374, 374, 374,
+ 374, 374, 374, 374, 387, 374, 374, 374, 374, 374,
+ 374, 374, 374, 374, 374, 374, 374, 374, 374, 374,
+ 374, 374, 374, 374, 389, 374, 374, 374, 390, 374,
+
+ 374, 391, 392, 397, 393, 385, 385, 385, 374, 374,
+ 394, 374, 395, 386, 385, 385, 385, 385, 385, 385,
+ 385, 385, 385, 385, 385, 385, 385, 385, 385, 385,
+ 385, 385, 385, 385, 398, 374, 374, 374, 374, 374,
+ 374, 374, 374, 374, 374, 374, 374, 374, 374, 374,
+ 397, 385, 385, 385, 374, 374, 385, 385, 385, 385,
+ 385, 385, 385, 385, 385, 385, 385, 385, 385, 385,
+ 385, 385, 385, 385, 385, 374, 374, 398, 374, 374,
+ 374, 374, 374, 374, 374, 399, 374, 385, 385, 385,
+ 385, 385, 385, 385, 385, 385, 385, 385, 385, 385,
+
+ 385, 385, 385, 374, 374, 374, 374, 374, 374, 374,
+ 385, 385, 385, 385, 385, 385, 385, 385, 385, 385,
+ 385, 385, 374, 374, 374, 374, 374, 374, 385, 385,
+ 385, 385, 385, 385, 385, 374, 374, 374, 374, 374,
+ 374, 385, 385, 385, 385, 385, 400, 374, 374, 374,
+ 374, 374, 374, 385, 385, 400, 374, 374, 374, 374,
+ 374, 401, 374, 374, 401, 374, 374, 374, 374, 374,
+ 374, 374, 374, 0, 374, 374, 374, 374, 374, 374,
+ 374, 374, 374, 374, 374, 374, 374, 374, 374, 374,
+ 374, 374, 374, 374, 374, 374, 374, 374, 374, 374,
+
+ 374
} ;
-static yyconst short int yy_nxt[904] =
+static yyconst short int yy_nxt[984] =
{ 0,
- 356, 21, 22, 23, 21, 26, 22, 23, 26, 30,
- 31, 27, 89, 24, 90, 30, 31, 24, 32, 35,
- 36, 105, 37, 106, 32, 38, 46, 47, 108, 48,
- 39, 108, 25, 22, 77, 116, 25, 33, 46, 47,
- 116, 48, 78, 92, 116, 40, 92, 193, 116, 28,
- 22, 82, 49, 79, 22, 77, 79, 22, 87, 83,
- 206, 117, 101, 80, 49, 109, 88, 116, 136, 41,
- 42, 35, 36, 116, 37, 43, 44, 38, 84, 22,
- 82, 84, 39, 22, 87, 102, 94, 93, 85, 112,
- 116, 113, 88, 95, 118, 116, 137, 40, 120, 96,
-
- 121, 121, 121, 121, 122, 175, 123, 116, 97, 103,
- 104, 138, 175, 124, 119, 128, 128, 128, 128, 207,
- 176, 41, 42, 20, 21, 22, 23, 21, 20, 20,
- 20, 20, 20, 20, 20, 20, 50, 20, 20, 20,
- 20, 51, 20, 20, 52, 52, 52, 52, 52, 52,
- 20, 20, 20, 52, 52, 53, 52, 52, 54, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 55, 52, 52, 52, 52, 56, 20, 57, 58, 59,
- 60, 60, 60, 124, 116, 125, 125, 125, 126, 116,
- 116, 116, 61, 116, 351, 62, 116, 63, 64, 65,
-
- 66, 116, 205, 67, 68, 116, 217, 69, 70, 116,
- 133, 71, 134, 72, 73, 135, 132, 74, 75, 139,
- 116, 141, 127, 129, 129, 129, 129, 116, 142, 140,
- 164, 143, 147, 151, 153, 154, 151, 155, 131, 144,
- 145, 165, 157, 152, 172, 157, 150, 148, 180, 146,
- 116, 149, 158, 159, 160, 92, 161, 173, 92, 169,
- 116, 108, 174, 162, 108, 163, 349, 170, 197, 197,
- 197, 197, 171, 345, 194, 201, 201, 201, 201, 124,
- 195, 125, 125, 125, 126, 124, 116, 126, 126, 126,
- 126, 129, 129, 129, 129, 181, 182, 116, 109, 93,
-
- 124, 116, 128, 128, 128, 128, 131, 116, 116, 208,
- 116, 116, 116, 116, 116, 116, 116, 153, 154, 116,
- 155, 116, 334, 116, 116, 334, 116, 209, 214, 250,
- 116, 210, 211, 213, 215, 218, 212, 219, 216, 264,
- 220, 221, 223, 224, 151, 153, 154, 151, 153, 222,
- 153, 154, 157, 153, 152, 157, 159, 160, 241, 161,
- 159, 160, 158, 159, 159, 160, 162, 159, 226, 116,
- 116, 197, 197, 197, 197, 244, 245, 116, 244, 201,
- 201, 201, 201, 116, 129, 129, 129, 129, 116, 116,
- 116, 242, 116, 116, 116, 116, 116, 116, 243, 131,
-
- 116, 116, 116, 116, 252, 116, 116, 246, 270, 116,
- 247, 253, 251, 171, 116, 116, 248, 249, 257, 265,
- 266, 254, 265, 262, 259, 256, 255, 258, 116, 261,
- 244, 245, 260, 244, 116, 263, 268, 243, 116, 116,
- 116, 116, 277, 116, 278, 116, 116, 116, 116, 116,
- 276, 116, 282, 265, 266, 279, 265, 283, 286, 116,
- 116, 288, 287, 284, 116, 116, 281, 280, 116, 290,
- 116, 289, 265, 266, 285, 265, 298, 265, 266, 291,
- 265, 300, 116, 116, 301, 116, 116, 116, 116, 268,
- 116, 299, 116, 308, 116, 116, 303, 302, 116, 304,
-
- 309, 306, 116, 116, 305, 322, 116, 116, 116, 317,
- 174, 318, 316, 315, 116, 116, 307, 116, 320, 335,
- 336, 336, 328, 331, 321, 337, 116, 319, 337, 334,
- 329, 330, 334, 338, 344, 327, 342, 342, 342, 342,
- 348, 339, 341, 341, 341, 341, 343, 348, 344, 116,
- 342, 342, 342, 342, 346, 348, 341, 341, 341, 341,
- 343, 340, 348, 173, 342, 342, 342, 342, 350, 350,
- 350, 350, 352, 116, 350, 350, 350, 350, 353, 353,
- 353, 353, 354, 355, 116, 354, 354, 355, 116, 354,
- 333, 332, 116, 116, 326, 353, 353, 353, 353, 20,
-
- 20, 20, 20, 20, 20, 20, 20, 29, 29, 29,
- 29, 29, 29, 29, 29, 34, 34, 34, 34, 34,
- 34, 34, 34, 45, 45, 45, 45, 45, 45, 45,
- 45, 76, 76, 76, 76, 76, 76, 76, 76, 81,
- 81, 81, 81, 81, 81, 81, 81, 86, 86, 86,
- 86, 86, 86, 86, 86, 107, 107, 325, 107, 107,
- 107, 107, 107, 111, 111, 324, 111, 111, 111, 111,
- 111, 114, 114, 115, 115, 115, 115, 130, 323, 130,
- 130, 130, 166, 166, 166, 166, 166, 166, 166, 166,
- 178, 178, 116, 178, 178, 178, 178, 178, 185, 185,
-
- 185, 185, 185, 185, 185, 185, 188, 188, 188, 188,
- 188, 188, 188, 188, 190, 190, 190, 190, 192, 192,
- 192, 192, 199, 199, 199, 199, 199, 199, 199, 199,
- 202, 116, 202, 203, 116, 203, 203, 203, 225, 225,
- 116, 116, 225, 225, 240, 240, 240, 240, 267, 267,
- 267, 267, 267, 267, 296, 296, 314, 296, 296, 296,
- 296, 296, 347, 347, 313, 347, 347, 347, 347, 347,
- 312, 311, 310, 170, 116, 116, 116, 116, 297, 295,
- 294, 293, 292, 116, 116, 116, 116, 116, 116, 191,
- 275, 274, 273, 272, 271, 269, 116, 131, 200, 116,
-
- 191, 191, 189, 239, 186, 238, 237, 236, 235, 234,
- 233, 232, 231, 230, 229, 228, 227, 167, 226, 204,
- 131, 200, 198, 196, 116, 116, 191, 189, 187, 186,
- 184, 183, 179, 177, 98, 168, 167, 164, 164, 156,
- 150, 116, 110, 100, 99, 98, 91, 356, 19, 356,
- 356, 356, 356, 356, 356, 356, 356, 356, 356, 356,
- 356, 356, 356, 356, 356, 356, 356, 356, 356, 356,
- 356, 356, 356, 356, 356, 356, 356, 356, 356, 356,
- 356, 356, 356, 356, 356, 356, 356, 356, 356, 356,
- 356, 356, 356, 356, 356, 356, 356, 356, 356, 356,
-
- 356, 356, 356
+ 374, 21, 22, 21, 23, 21, 31, 31, 32, 32,
+ 362, 374, 34, 96, 24, 97, 33, 33, 48, 37,
+ 49, 38, 50, 39, 362, 114, 40, 115, 99, 131,
+ 35, 41, 99, 25, 26, 22, 21, 23, 26, 101,
+ 27, 28, 122, 101, 123, 51, 42, 24, 48, 22,
+ 49, 81, 50, 52, 83, 22, 133, 81, 83, 82,
+ 84, 103, 22, 185, 87, 85, 25, 22, 104, 93,
+ 43, 44, 88, 100, 105, 51, 110, 94, 102, 29,
+ 37, 131, 38, 106, 39, 45, 46, 40, 131, 131,
+ 89, 22, 41, 87, 89, 22, 90, 93, 131, 111,
+
+ 95, 91, 132, 131, 136, 94, 137, 42, 121, 121,
+ 121, 121, 124, 145, 128, 128, 128, 128, 185, 150,
+ 369, 146, 134, 112, 113, 135, 186, 121, 121, 121,
+ 121, 43, 44, 20, 21, 22, 21, 23, 21, 20,
+ 20, 20, 20, 20, 20, 20, 53, 54, 55, 56,
+ 56, 56, 57, 20, 20, 58, 58, 58, 58, 58,
+ 58, 20, 20, 20, 58, 58, 59, 58, 58, 60,
+ 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
+ 58, 61, 58, 58, 58, 58, 62, 20, 63, 64,
+ 131, 101, 131, 117, 101, 101, 131, 117, 101, 367,
+
+ 131, 160, 131, 65, 131, 160, 66, 363, 67, 68,
+ 69, 70, 161, 147, 71, 72, 224, 141, 73, 74,
+ 149, 142, 75, 143, 76, 77, 144, 148, 78, 79,
+ 102, 118, 102, 102, 124, 131, 125, 125, 125, 126,
+ 138, 138, 138, 138, 101, 131, 173, 131, 101, 101,
+ 131, 190, 357, 101, 131, 140, 162, 163, 174, 99,
+ 164, 131, 151, 99, 179, 152, 153, 154, 156, 159,
+ 157, 166, 180, 127, 158, 166, 155, 181, 207, 182,
+ 168, 169, 167, 102, 170, 101, 173, 131, 102, 101,
+ 101, 171, 183, 172, 101, 131, 117, 184, 191, 192,
+
+ 117, 131, 131, 295, 100, 198, 198, 198, 198, 201,
+ 201, 201, 201, 124, 206, 125, 125, 125, 126, 131,
+ 131, 208, 131, 124, 102, 126, 126, 126, 126, 102,
+ 138, 138, 138, 138, 118, 102, 124, 215, 128, 128,
+ 128, 128, 131, 131, 131, 140, 131, 131, 131, 131,
+ 219, 131, 220, 131, 216, 217, 131, 131, 131, 131,
+ 131, 160, 162, 163, 227, 160, 164, 218, 131, 225,
+ 221, 223, 161, 226, 229, 131, 222, 228, 231, 234,
+ 131, 162, 163, 131, 230, 162, 232, 233, 162, 163,
+ 166, 270, 162, 261, 166, 168, 169, 253, 131, 170,
+
+ 358, 167, 131, 168, 169, 131, 171, 168, 236, 168,
+ 169, 252, 131, 168, 198, 198, 198, 198, 201, 201,
+ 201, 201, 131, 255, 256, 131, 254, 255, 138, 138,
+ 138, 138, 257, 259, 131, 131, 131, 131, 131, 258,
+ 131, 131, 131, 140, 131, 131, 263, 262, 131, 282,
+ 260, 131, 131, 264, 181, 276, 277, 131, 131, 276,
+ 131, 268, 131, 265, 273, 131, 275, 267, 266, 269,
+ 131, 271, 272, 279, 274, 255, 256, 131, 131, 255,
+ 254, 131, 288, 291, 131, 289, 131, 290, 131, 294,
+ 131, 131, 131, 183, 292, 304, 298, 293, 296, 304,
+
+ 299, 131, 300, 276, 277, 131, 131, 276, 302, 301,
+ 297, 276, 277, 276, 277, 276, 131, 276, 131, 131,
+ 131, 303, 311, 131, 312, 314, 131, 131, 131, 279,
+ 315, 304, 313, 316, 317, 304, 131, 131, 319, 318,
+ 322, 131, 131, 131, 131, 323, 323, 323, 323, 131,
+ 321, 131, 357, 131, 131, 320, 331, 330, 332, 329,
+ 334, 336, 337, 131, 131, 336, 131, 184, 343, 346,
+ 335, 131, 333, 131, 131, 323, 323, 323, 323, 344,
+ 342, 350, 345, 131, 349, 350, 351, 352, 352, 353,
+ 354, 350, 348, 353, 347, 350, 366, 366, 355, 360,
+
+ 360, 360, 360, 131, 131, 359, 359, 359, 359, 361,
+ 341, 366, 366, 360, 360, 360, 360, 364, 340, 359,
+ 359, 359, 359, 361, 339, 338, 131, 360, 360, 360,
+ 360, 368, 368, 368, 368, 370, 131, 368, 368, 368,
+ 368, 371, 371, 371, 371, 372, 373, 372, 373, 372,
+ 131, 372, 131, 131, 328, 327, 326, 325, 324, 371,
+ 371, 371, 371, 20, 20, 20, 20, 20, 20, 20,
+ 20, 20, 30, 30, 30, 30, 30, 30, 30, 30,
+ 30, 36, 36, 36, 36, 36, 36, 36, 36, 36,
+ 47, 47, 47, 47, 47, 47, 47, 47, 47, 80,
+
+ 80, 80, 80, 80, 80, 80, 80, 80, 86, 86,
+ 86, 86, 86, 86, 86, 86, 86, 92, 92, 92,
+ 92, 92, 92, 92, 92, 92, 116, 116, 180, 116,
+ 116, 116, 116, 116, 116, 120, 120, 131, 120, 120,
+ 120, 120, 120, 120, 129, 129, 130, 130, 130, 130,
+ 139, 131, 139, 139, 139, 175, 175, 175, 175, 175,
+ 175, 175, 175, 175, 188, 188, 131, 188, 188, 188,
+ 188, 188, 188, 195, 195, 195, 195, 195, 195, 195,
+ 195, 195, 199, 199, 199, 199, 199, 199, 199, 199,
+ 199, 202, 131, 202, 203, 203, 203, 203, 205, 205,
+
+ 205, 205, 211, 211, 211, 211, 211, 211, 211, 211,
+ 211, 213, 310, 213, 213, 213, 235, 235, 308, 307,
+ 306, 235, 235, 251, 251, 251, 251, 278, 278, 305,
+ 278, 278, 278, 278, 309, 309, 131, 309, 309, 309,
+ 309, 309, 309, 356, 356, 131, 131, 356, 356, 356,
+ 356, 356, 365, 365, 131, 365, 365, 365, 365, 365,
+ 365, 131, 131, 204, 287, 286, 285, 284, 283, 281,
+ 280, 131, 140, 212, 131, 204, 204, 200, 250, 196,
+ 249, 248, 247, 246, 245, 244, 243, 242, 241, 240,
+ 239, 238, 237, 176, 236, 214, 140, 212, 210, 209,
+
+ 131, 131, 204, 200, 197, 196, 194, 193, 189, 187,
+ 178, 107, 177, 176, 173, 173, 165, 159, 131, 119,
+ 109, 108, 107, 98, 374, 27, 27, 19, 374, 374,
+ 374, 374, 374, 374, 374, 374, 374, 374, 374, 374,
+ 374, 374, 374, 374, 374, 374, 374, 374, 374, 374,
+ 374, 374, 374, 374, 374, 374, 374, 374, 374, 374,
+ 374, 374, 374, 374, 374, 374, 374, 374, 374, 374,
+ 374, 374, 374, 374, 374, 374, 374, 374, 374, 374,
+ 374, 374, 374
} ;
-static yyconst short int yy_chk[904] =
+static yyconst short int yy_chk[984] =
{ 0,
- 0, 1, 1, 1, 1, 2, 2, 2, 2, 3,
- 3, 2, 24, 1, 24, 4, 4, 2, 3, 5,
- 5, 39, 5, 39, 4, 5, 7, 7, 43, 7,
- 5, 43, 1, 13, 13, 117, 2, 4, 8, 8,
- 53, 8, 13, 26, 64, 5, 26, 117, 133, 2,
- 15, 15, 7, 14, 14, 14, 14, 17, 17, 15,
- 133, 53, 38, 14, 8, 43, 17, 54, 64, 5,
- 5, 6, 6, 65, 6, 6, 6, 6, 16, 16,
- 16, 16, 6, 18, 18, 38, 27, 26, 16, 50,
- 66, 50, 18, 27, 54, 55, 65, 6, 57, 27,
-
- 57, 57, 57, 57, 58, 351, 58, 134, 27, 38,
- 38, 66, 96, 60, 55, 60, 60, 60, 60, 134,
- 96, 6, 6, 9, 9, 9, 9, 9, 9, 9,
+ 0, 1, 1, 1, 1, 1, 3, 4, 3, 4,
+ 353, 0, 4, 24, 1, 24, 3, 4, 7, 5,
+ 7, 5, 7, 5, 353, 41, 5, 41, 26, 60,
+ 4, 5, 26, 1, 2, 2, 2, 2, 2, 27,
+ 2, 2, 54, 27, 54, 7, 5, 2, 8, 13,
+ 8, 13, 8, 8, 14, 14, 60, 14, 14, 13,
+ 14, 28, 15, 369, 15, 14, 2, 17, 28, 17,
+ 5, 5, 15, 26, 28, 8, 40, 17, 27, 2,
+ 6, 59, 6, 28, 6, 6, 6, 6, 73, 68,
+ 16, 16, 6, 16, 16, 18, 16, 18, 69, 40,
+
+ 18, 16, 59, 61, 64, 18, 64, 6, 53, 53,
+ 53, 53, 56, 68, 56, 56, 56, 56, 105, 73,
+ 367, 69, 61, 40, 40, 63, 105, 63, 63, 63,
+ 63, 6, 6, 9, 9, 9, 9, 9, 9, 9,
9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 11, 11, 11,
- 11, 11, 11, 59, 132, 59, 59, 59, 59, 62,
- 69, 63, 11, 143, 349, 11, 67, 11, 11, 11,
-
- 11, 70, 132, 11, 11, 68, 143, 11, 11, 72,
- 63, 11, 63, 11, 11, 63, 62, 11, 11, 67,
- 71, 69, 59, 61, 61, 61, 61, 73, 70, 68,
- 88, 70, 72, 79, 80, 80, 79, 80, 61, 71,
- 71, 88, 84, 79, 95, 84, 80, 73, 102, 71,
- 118, 73, 84, 85, 85, 92, 85, 95, 92, 94,
- 119, 108, 95, 85, 108, 85, 345, 94, 121, 121,
- 121, 121, 94, 340, 118, 124, 124, 124, 124, 125,
- 119, 125, 125, 125, 125, 126, 135, 126, 126, 126,
- 126, 129, 129, 129, 129, 102, 102, 136, 108, 92,
-
- 128, 137, 128, 128, 128, 128, 129, 139, 138, 135,
- 140, 144, 141, 146, 142, 148, 209, 152, 152, 145,
- 152, 147, 324, 149, 224, 324, 339, 136, 141, 209,
- 193, 137, 138, 140, 142, 144, 139, 145, 142, 224,
- 146, 147, 148, 149, 151, 153, 153, 151, 153, 147,
- 155, 155, 157, 155, 151, 157, 158, 158, 193, 158,
- 159, 159, 157, 159, 161, 161, 158, 161, 158, 194,
- 195, 197, 197, 197, 197, 198, 198, 205, 198, 201,
- 201, 201, 201, 206, 204, 204, 204, 204, 207, 208,
- 210, 194, 211, 213, 214, 215, 216, 217, 195, 204,
-
- 218, 219, 220, 222, 211, 221, 223, 205, 228, 241,
- 206, 213, 210, 228, 248, 249, 207, 208, 217, 225,
- 225, 214, 225, 222, 219, 216, 215, 218, 246, 221,
- 244, 244, 220, 244, 250, 223, 225, 241, 252, 254,
- 255, 256, 248, 257, 249, 258, 259, 260, 261, 263,
- 246, 262, 255, 265, 265, 250, 265, 256, 259, 277,
- 276, 260, 259, 257, 281, 279, 254, 252, 282, 262,
- 290, 261, 267, 267, 258, 267, 276, 268, 268, 263,
- 268, 279, 283, 286, 281, 284, 287, 288, 291, 267,
- 298, 277, 299, 290, 301, 302, 283, 282, 303, 284,
-
- 291, 287, 308, 309, 286, 310, 315, 316, 320, 301,
- 310, 302, 299, 298, 317, 319, 288, 328, 308, 325,
- 325, 325, 316, 320, 309, 326, 330, 303, 326, 334,
- 317, 319, 334, 328, 337, 315, 335, 335, 335, 335,
- 344, 330, 334, 334, 334, 334, 336, 347, 337, 338,
- 336, 336, 336, 336, 341, 344, 341, 341, 341, 341,
- 342, 333, 347, 332, 342, 342, 342, 342, 346, 346,
- 346, 346, 350, 331, 350, 350, 350, 350, 352, 352,
- 352, 352, 353, 353, 329, 353, 354, 354, 327, 354,
- 323, 322, 321, 318, 314, 353, 353, 353, 353, 357,
-
- 357, 357, 357, 357, 357, 357, 357, 358, 358, 358,
- 358, 358, 358, 358, 358, 359, 359, 359, 359, 359,
- 359, 359, 359, 360, 360, 360, 360, 360, 360, 360,
- 360, 361, 361, 361, 361, 361, 361, 361, 361, 362,
- 362, 362, 362, 362, 362, 362, 362, 363, 363, 363,
- 363, 363, 363, 363, 363, 364, 364, 313, 364, 364,
- 364, 364, 364, 365, 365, 312, 365, 365, 365, 365,
- 365, 366, 366, 367, 367, 367, 367, 368, 311, 368,
- 368, 368, 369, 369, 369, 369, 369, 369, 369, 369,
- 370, 370, 307, 370, 370, 370, 370, 370, 371, 371,
-
- 371, 371, 371, 371, 371, 371, 372, 372, 372, 372,
- 372, 372, 372, 372, 373, 373, 373, 373, 374, 374,
- 374, 374, 375, 375, 375, 375, 375, 375, 375, 375,
- 376, 306, 376, 377, 305, 377, 377, 377, 378, 378,
- 304, 300, 378, 378, 379, 379, 379, 379, 380, 380,
- 380, 380, 380, 380, 381, 381, 297, 381, 381, 381,
- 381, 381, 382, 382, 296, 382, 382, 382, 382, 382,
- 295, 294, 293, 292, 289, 285, 280, 278, 275, 273,
- 272, 271, 270, 264, 253, 251, 247, 243, 242, 240,
- 239, 235, 234, 233, 230, 227, 212, 203, 199, 192,
-
- 191, 190, 188, 187, 185, 182, 181, 180, 178, 177,
- 176, 175, 173, 172, 170, 169, 168, 166, 162, 131,
- 130, 123, 122, 120, 116, 115, 114, 113, 109, 106,
- 104, 103, 101, 98, 93, 91, 90, 87, 86, 83,
- 78, 52, 44, 33, 32, 28, 25, 19, 356, 356,
- 356, 356, 356, 356, 356, 356, 356, 356, 356, 356,
- 356, 356, 356, 356, 356, 356, 356, 356, 356, 356,
- 356, 356, 356, 356, 356, 356, 356, 356, 356, 356,
- 356, 356, 356, 356, 356, 356, 356, 356, 356, 356,
- 356, 356, 356, 356, 356, 356, 356, 356, 356, 356,
-
- 356, 356, 356
+ 9, 9, 9, 9, 9, 9, 9, 9, 11, 11,
+ 66, 34, 70, 45, 52, 34, 72, 45, 52, 363,
+
+ 150, 83, 67, 11, 71, 83, 11, 358, 11, 11,
+ 11, 11, 83, 70, 11, 11, 150, 66, 11, 11,
+ 72, 67, 11, 67, 11, 11, 67, 71, 11, 11,
+ 34, 45, 45, 52, 55, 74, 55, 55, 55, 55,
+ 65, 65, 65, 65, 84, 76, 94, 75, 84, 90,
+ 77, 111, 356, 90, 133, 65, 85, 85, 94, 99,
+ 85, 355, 74, 99, 103, 74, 75, 75, 76, 85,
+ 77, 89, 103, 55, 77, 89, 75, 103, 133, 104,
+ 91, 91, 89, 84, 91, 95, 95, 267, 90, 95,
+ 101, 91, 104, 91, 101, 354, 117, 104, 111, 111,
+
+ 117, 134, 132, 267, 99, 121, 121, 121, 121, 124,
+ 124, 124, 124, 125, 132, 125, 125, 125, 125, 141,
+ 145, 134, 146, 126, 95, 126, 126, 126, 126, 101,
+ 138, 138, 138, 138, 117, 117, 128, 141, 128, 128,
+ 128, 128, 142, 143, 144, 138, 147, 148, 149, 151,
+ 145, 152, 146, 153, 142, 143, 154, 155, 156, 158,
+ 157, 160, 161, 161, 152, 160, 161, 144, 229, 151,
+ 147, 149, 160, 151, 154, 207, 148, 153, 156, 158,
+ 219, 162, 162, 206, 155, 162, 156, 157, 164, 164,
+ 166, 229, 164, 219, 166, 167, 167, 207, 208, 167,
+
+ 349, 166, 215, 168, 168, 217, 167, 168, 167, 170,
+ 170, 206, 216, 170, 198, 198, 198, 198, 201, 201,
+ 201, 201, 218, 210, 210, 220, 208, 210, 214, 214,
+ 214, 214, 215, 217, 221, 223, 224, 225, 226, 216,
+ 227, 230, 228, 214, 232, 233, 221, 220, 231, 239,
+ 218, 234, 252, 223, 239, 235, 235, 259, 260, 235,
+ 257, 227, 261, 224, 232, 263, 234, 226, 225, 228,
+ 265, 230, 231, 235, 233, 255, 255, 266, 268, 255,
+ 252, 269, 257, 261, 270, 259, 272, 260, 271, 266,
+ 273, 274, 289, 348, 263, 281, 270, 265, 268, 281,
+
+ 270, 294, 271, 276, 276, 293, 288, 276, 273, 272,
+ 269, 278, 278, 279, 279, 278, 291, 279, 298, 295,
+ 296, 274, 288, 299, 289, 293, 300, 302, 303, 278,
+ 294, 304, 291, 295, 296, 304, 311, 312, 299, 298,
+ 303, 314, 315, 316, 321, 304, 304, 304, 304, 322,
+ 302, 329, 347, 330, 334, 300, 314, 312, 315, 311,
+ 321, 323, 324, 331, 346, 323, 333, 324, 330, 334,
+ 322, 344, 316, 342, 343, 323, 323, 323, 323, 331,
+ 329, 339, 333, 345, 338, 339, 340, 340, 340, 341,
+ 343, 350, 337, 341, 336, 350, 362, 365, 345, 351,
+
+ 351, 351, 351, 335, 332, 350, 350, 350, 350, 352,
+ 328, 362, 365, 352, 352, 352, 352, 359, 327, 359,
+ 359, 359, 359, 360, 326, 325, 320, 360, 360, 360,
+ 360, 364, 364, 364, 364, 368, 319, 368, 368, 368,
+ 368, 370, 370, 370, 370, 371, 371, 372, 372, 371,
+ 318, 372, 317, 313, 310, 309, 308, 307, 306, 371,
+ 371, 371, 371, 375, 375, 375, 375, 375, 375, 375,
+ 375, 375, 376, 376, 376, 376, 376, 376, 376, 376,
+ 376, 377, 377, 377, 377, 377, 377, 377, 377, 377,
+ 378, 378, 378, 378, 378, 378, 378, 378, 378, 379,
+
+ 379, 379, 379, 379, 379, 379, 379, 379, 380, 380,
+ 380, 380, 380, 380, 380, 380, 380, 381, 381, 381,
+ 381, 381, 381, 381, 381, 381, 382, 382, 305, 382,
+ 382, 382, 382, 382, 382, 383, 383, 301, 383, 383,
+ 383, 383, 383, 383, 384, 384, 385, 385, 385, 385,
+ 386, 297, 386, 386, 386, 387, 387, 387, 387, 387,
+ 387, 387, 387, 387, 388, 388, 292, 388, 388, 388,
+ 388, 388, 388, 389, 389, 389, 389, 389, 389, 389,
+ 389, 389, 390, 390, 390, 390, 390, 390, 390, 390,
+ 390, 391, 290, 391, 392, 392, 392, 392, 393, 393,
+
+ 393, 393, 394, 394, 394, 394, 394, 394, 394, 394,
+ 394, 395, 287, 395, 395, 395, 396, 396, 285, 284,
+ 283, 396, 396, 397, 397, 397, 397, 398, 398, 282,
+ 398, 398, 398, 398, 399, 399, 275, 399, 399, 399,
+ 399, 399, 399, 400, 400, 264, 262, 400, 400, 400,
+ 400, 400, 401, 401, 258, 401, 401, 401, 401, 401,
+ 401, 254, 253, 251, 250, 246, 245, 244, 241, 238,
+ 237, 222, 213, 211, 205, 204, 203, 199, 197, 195,
+ 192, 191, 190, 188, 187, 186, 185, 183, 182, 180,
+ 179, 178, 177, 175, 171, 140, 139, 137, 136, 135,
+
+ 131, 130, 129, 123, 118, 115, 113, 112, 110, 107,
+ 102, 100, 98, 97, 93, 92, 88, 82, 58, 46,
+ 35, 33, 29, 25, 19, 12, 10, 374, 374, 374,
+ 374, 374, 374, 374, 374, 374, 374, 374, 374, 374,
+ 374, 374, 374, 374, 374, 374, 374, 374, 374, 374,
+ 374, 374, 374, 374, 374, 374, 374, 374, 374, 374,
+ 374, 374, 374, 374, 374, 374, 374, 374, 374, 374,
+ 374, 374, 374, 374, 374, 374, 374, 374, 374, 374,
+ 374, 374, 374
} ;
static yy_state_type yy_state_buf[YY_BUF_SIZE + 2], *yy_state_ptr;
#include "config.h"
#include <glib.h>
#include <string.h>
+#include <ctype.h>
#include "treefuncs.h"
#include "parse.h"
static int look_for_includes = 0;
int line_no = 1;
+/* last filename parsed from a #line directive */
+char *hline_filename = NULL;
static void
clear_cbuf(void)
gtk_doc_func = NULL;
}
+/* Ugly warning avoiding */
+#ifdef FLEX_SCANNER
+int yylex(void);
+#endif
#define COMMENT 1
#define GTK_DOC_LINE 8
-#line 839 "lex.yy.c"
+#line 872 "lex.yy.c"
/* Macros after this point can all be overridden by user definitions in
* section 1.
register char *yy_cp = NULL, *yy_bp = NULL;
register int yy_act;
-#line 98 "lexer.l"
+#line 105 "lexer.l"
-#line 996 "lex.yy.c"
+#line 1029 "lex.yy.c"
if ( yy_init )
{
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 >= 357 )
+ if ( yy_current_state >= 375 )
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_base[yy_current_state] != 849 );
+ while ( yy_base[yy_current_state] != 928 );
yy_find_action:
yy_current_state = *--yy_state_ptr;
{ /* beginning of action switch */
case 1:
YY_RULE_SETUP
-#line 100 "lexer.l"
+#line 107 "lexer.l"
{ line_no++; REJECT; }
YY_BREAK
case 2:
yy_c_buf_p = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 102 "lexer.l"
+#line 109 "lexer.l"
{
/* Thy evil easter egg */
#define QQ(x) long x
yy_c_buf_p = yy_cp -= 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 124 "lexer.l"
+#line 131 "lexer.l"
{ ; /*comment, ignore*/ }
YY_BREAK
case 4:
YY_RULE_SETUP
-#line 125 "lexer.l"
+#line 133 "lexer.l"
+{
+ char *p;
+ char *number;
+ char *filename;
+ char *str=g_strdup(yytext);
+
+ /* find first digit of line number */
+ p=str;
+ while(*p&&!isdigit(*p)) p++;
+ number=p;
+
+ /* find end of line number */
+ while(*p&&isdigit(*p)) p++;
+ if(*p) *p++=0;
+
+ /* find beginning of filename */
+ p=strchr(p,'"');
+ if(p) p++;
+ filename=p;
+
+ /* find end of filename */
+ if(p) p=strchr(p,'"');
+ if(p) *p=0;
+
+ /* stash number (minus one because we don't count this line) */
+ if(number) line_no=atoi(number)-1;
+
+ /* stash filename */
+ if(filename) {
+ if(hline_filename) g_free(hline_filename);
+ hline_filename=g_strdup(filename);
+ }
+
+ /* clean up */
+ g_free(str);
+}
+ YY_BREAK
+case 5:
+YY_RULE_SETUP
+#line 170 "lexer.l"
{
if(look_for_includes==1) {
char *p;
REJECT;
}
YY_BREAK
-case 5:
+case 6:
*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 */
YY_RULE_SETUP
-#line 142 "lexer.l"
+#line 187 "lexer.l"
{
/* eat out gtk doc stuff */
BEGIN(GTK_DOC_BEFORE_NAME);
clear_cbuf();
}
YY_BREAK
-case 6:
+case 7:
*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 */
YY_RULE_SETUP
-#line 147 "lexer.l"
+#line 192 "lexer.l"
{
/* empty doc lines */
;
}
YY_BREAK
-case 7:
+case 8:
*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 */
YY_RULE_SETUP
-#line 151 "lexer.l"
+#line 196 "lexer.l"
{
char *p;
BEGIN(GTK_DOC);
g_strstrip(gtk_doc_func);
}
YY_BREAK
-case 8:
+case 9:
YY_RULE_SETUP
-#line 161 "lexer.l"
+#line 206 "lexer.l"
{
BEGIN(CLASS_CODE_I);
}
YY_BREAK
-case 9:
+case 10:
YY_RULE_SETUP
-#line 164 "lexer.l"
+#line 209 "lexer.l"
{
BEGIN(COMMENT);
before_comment = CLASS_CODE_I;
}
YY_BREAK
-case 10:
+case 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 */
YY_RULE_SETUP
-#line 168 "lexer.l"
+#line 213 "lexer.l"
{
/* empty doc lines */
add_to_cbuf(" *\n");
}
YY_BREAK
-case 11:
+case 12:
YY_RULE_SETUP
-#line 172 "lexer.l"
+#line 217 "lexer.l"
{
BEGIN(CLASS_CODE_I);
add_gtk_doc_func();
}
YY_BREAK
-case 12:
+case 13:
YY_RULE_SETUP
-#line 176 "lexer.l"
+#line 221 "lexer.l"
{
fflush(stdout);
add_to_cbuf(" * ");
BEGIN(GTK_DOC_LINE);
}
YY_BREAK
-case 13:
+case 14:
YY_RULE_SETUP
-#line 181 "lexer.l"
+#line 226 "lexer.l"
{
BEGIN(CLASS_CODE_I);
}
YY_BREAK
-case 14:
+case 15:
YY_RULE_SETUP
-#line 184 "lexer.l"
+#line 229 "lexer.l"
{
BEGIN(COMMENT);
before_comment = CLASS_CODE_I;
}
YY_BREAK
-case 15:
+case 16:
YY_RULE_SETUP
-#line 188 "lexer.l"
+#line 233 "lexer.l"
{
BEGIN(CLASS_CODE_I);
add_to_cbuf("\n");
add_gtk_doc_func();
}
YY_BREAK
-case 16:
+case 17:
*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 */
YY_RULE_SETUP
-#line 193 "lexer.l"
+#line 238 "lexer.l"
{
BEGIN(GTK_DOC);
add_to_cbuf(yytext);
add_to_cbuf("\n");
}
YY_BREAK
-case 17:
+case 18:
YY_RULE_SETUP
-#line 198 "lexer.l"
+#line 243 "lexer.l"
{
fflush(stdout);
add_to_cbuf(yytext);
}
YY_BREAK
-case 18:
+case 19:
*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 */
YY_RULE_SETUP
-#line 203 "lexer.l"
+#line 248 "lexer.l"
{ add_to_cbuf(yytext); /*comment, ignore*/ }
YY_BREAK
-case 19:
+case 20:
*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 */
YY_RULE_SETUP
-#line 204 "lexer.l"
+#line 249 "lexer.l"
{ ; /*comment, ignore*/ }
YY_BREAK
-case 20:
+case 21:
*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 */
YY_RULE_SETUP
-#line 205 "lexer.l"
+#line 250 "lexer.l"
{ ; /*comment, ignore*/ }
YY_BREAK
-case 21:
+case 22:
YY_RULE_SETUP
-#line 206 "lexer.l"
+#line 251 "lexer.l"
{BEGIN(COMMENT); before_comment = INITIAL; }
YY_BREAK
-case 22:
+case 23:
YY_RULE_SETUP
-#line 207 "lexer.l"
+#line 252 "lexer.l"
{
add_to_cbuf(yytext);
BEGIN(COMMENT);
before_comment = C_CODE;
}
YY_BREAK
-case 23:
+case 24:
YY_RULE_SETUP
-#line 212 "lexer.l"
+#line 257 "lexer.l"
{BEGIN(COMMENT); before_comment = CLASS_CODE; }
YY_BREAK
-case 24:
+case 25:
YY_RULE_SETUP
-#line 213 "lexer.l"
+#line 258 "lexer.l"
{BEGIN(COMMENT); before_comment = CLASS_CODE_I; }
YY_BREAK
-case 25:
+case 26:
YY_RULE_SETUP
-#line 214 "lexer.l"
+#line 259 "lexer.l"
{
if(before_comment == C_CODE) add_to_cbuf(yytext);
BEGIN(before_comment);
}
YY_BREAK
-case 26:
+case 27:
YY_RULE_SETUP
-#line 218 "lexer.l"
+#line 263 "lexer.l"
{
/* comment, ignore */
if(before_comment == C_CODE) add_to_cbuf(yytext);
}
YY_BREAK
-case 27:
+case 28:
YY_RULE_SETUP
-#line 222 "lexer.l"
+#line 267 "lexer.l"
{
/* comment, ignore */
if(before_comment == C_CODE) add_to_cbuf(yytext);
}
YY_BREAK
-case 28:
+case 29:
YY_RULE_SETUP
-#line 227 "lexer.l"
+#line 272 "lexer.l"
{
BEGIN(C_CODE);
parenth_depth = 1;
ccode_line = line_no;
}
YY_BREAK
-case 29:
+case 30:
YY_RULE_SETUP
-#line 235 "lexer.l"
+#line 280 "lexer.l"
{
BEGIN(C_CODE);
parenth_depth = 1;
ccode_line = line_no;
}
YY_BREAK
-case 30:
+case 31:
YY_RULE_SETUP
-#line 244 "lexer.l"
+#line 289 "lexer.l"
{
BEGIN(C_CODE);
parenth_depth = 1;
ccode_line = line_no;
}
YY_BREAK
-case 31:
+case 32:
YY_RULE_SETUP
-#line 252 "lexer.l"
+#line 297 "lexer.l"
{
BEGIN(C_CODE);
parenth_depth = 1;
ccode_line = line_no;
}
YY_BREAK
-case 32:
+case 33:
YY_RULE_SETUP
-#line 260 "lexer.l"
+#line 305 "lexer.l"
{
BEGIN(C_CODE);
parenth_depth = 1;
ccode_line = line_no;
}
YY_BREAK
-case 33:
+case 34:
YY_RULE_SETUP
-#line 268 "lexer.l"
+#line 313 "lexer.l"
{
BEGIN(C_CODE);
parenth_depth = 1;
look_for_includes=1;
}
YY_BREAK
-case 34:
+case 35:
YY_RULE_SETUP
-#line 278 "lexer.l"
+#line 323 "lexer.l"
{
BEGIN(INITIAL);
yylval.cbuf = cbuf;
return code_type;
}
YY_BREAK
-case 35:
-YY_RULE_SETUP
-#line 287 "lexer.l"
-{ add_to_cbuf(yytext); }
- YY_BREAK
case 36:
YY_RULE_SETUP
-#line 288 "lexer.l"
+#line 332 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
case 37:
YY_RULE_SETUP
-#line 289 "lexer.l"
+#line 333 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
case 38:
YY_RULE_SETUP
-#line 290 "lexer.l"
+#line 334 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
case 39:
YY_RULE_SETUP
-#line 291 "lexer.l"
+#line 335 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
case 40:
YY_RULE_SETUP
-#line 292 "lexer.l"
+#line 336 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
case 41:
YY_RULE_SETUP
-#line 294 "lexer.l"
+#line 337 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
case 42:
YY_RULE_SETUP
-#line 295 "lexer.l"
+#line 339 "lexer.l"
+{ add_to_cbuf(yytext); }
+ YY_BREAK
+case 43:
+YY_RULE_SETUP
+#line 340 "lexer.l"
{
BEGIN(C_CODE_STRING);
add_to_cbuf(yytext);
}
YY_BREAK
-case 43:
+case 44:
YY_RULE_SETUP
-#line 299 "lexer.l"
+#line 344 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 44:
+case 45:
YY_RULE_SETUP
-#line 300 "lexer.l"
+#line 345 "lexer.l"
{
BEGIN(C_CODE);
add_to_cbuf(yytext);
}
YY_BREAK
-case 45:
+case 46:
YY_RULE_SETUP
-#line 304 "lexer.l"
+#line 349 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 46:
+case 47:
YY_RULE_SETUP
-#line 305 "lexer.l"
+#line 350 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 47:
+case 48:
YY_RULE_SETUP
-#line 307 "lexer.l"
+#line 352 "lexer.l"
{
parenth_depth++;
add_to_cbuf(yytext);
}
YY_BREAK
-case 48:
+case 49:
YY_RULE_SETUP
-#line 311 "lexer.l"
+#line 356 "lexer.l"
{
parenth_depth--;
if(parenth_depth<0) {
add_to_cbuf(yytext);
}
YY_BREAK
-case 49:
+case 50:
YY_RULE_SETUP
-#line 324 "lexer.l"
+#line 369 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 50:
+case 51:
YY_RULE_SETUP
-#line 325 "lexer.l"
+#line 370 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 51:
+case 52:
YY_RULE_SETUP
-#line 327 "lexer.l"
+#line 372 "lexer.l"
{
static int found_classes = 0;
look_for_includes = 2;
BEGIN(CLASS_CODE);
if(++found_classes > 1) {
- print_error(FALSE,
- "Only one class per file allowed",
- line_no);
+ error_print(GOB_ERROR, line_no,
+ "Only one class per file allowed");
}
return CLASS;
}
YY_BREAK
-case 52:
+case 53:
*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 */
YY_RULE_SETUP
-#line 341 "lexer.l"
+#line 385 "lexer.l"
{
int maj = 0,min = 0,pl = 0;
int rmaj = 0,rmin = 0,rpl = 0;
+ int effective_maj = 0;
+ int effective_rmaj = 0;
char *p;
sscanf(VERSION,"%d.%d.%d",&rmaj,&rmin,&rpl);
+ effective_rmaj = rmaj;
+ if (rmin >= 90)
+ effective_rmaj = rmaj + 1;
+
p = strchr(yytext,'r');
g_assert(p); /* we MUST have found it */
sscanf(p,"requires %d.%d.%d",&maj,&min,&pl);
+ effective_maj = maj;
+ if (min >= 90)
+ effective_maj = maj + 1;
+
if(rmaj < maj ||
(rmaj == maj && rmin < min) ||
(rmaj == maj && rmin == min && rpl < pl)) {
- char *s;
- s = g_strdup_printf(
- "GOB version %d.%d.%d required "
- "(this is %s)\n"
- "To upgrade your gob, see: "
- "http://www.5z.com/jirka/gob.html",
- maj,min,pl,VERSION);
- print_error(FALSE, s, line_no);
- g_free(s);
+ error_printf(GOB_ERROR, line_no,
+ "GOB version at least %d.%d.%d required "
+ "(this is %s)\n"
+ "To upgrade your gob, see: "
+ "http://www.5z.com/jirka/gob.html",
+ maj, min, pl, VERSION);
+ }
+
+ if(effective_rmaj != effective_maj) {
+ error_printf(GOB_ERROR, line_no,
+ "GOB major version %d required "
+ "(this is %s)\n"
+ "To upgrade your gob, see: "
+ "http://www.5z.com/jirka/gob.html",
+ maj, VERSION);
}
}
YY_BREAK
-case 53:
+case 54:
YY_RULE_SETUP
-#line 365 "lexer.l"
+#line 425 "lexer.l"
{
if(for_cpp) {
- char *s;
- s = g_strdup_printf("'%s' keyword should not "
- "be used when generating "
- "C++ code", yytext);
- print_error(TRUE, s, line_no);
- g_free(s);
+ error_printf(GOB_WARN, line_no,
+ "'%s' keyword should not "
+ "be used when generating "
+ "C++ code", yytext);
}
REJECT;
}
YY_BREAK
-case 54:
+case 55:
YY_RULE_SETUP
-#line 377 "lexer.l"
+#line 435 "lexer.l"
{return FROM;}
YY_BREAK
-case 55:
+case 56:
YY_RULE_SETUP
-#line 379 "lexer.l"
+#line 437 "lexer.l"
{return VOID;}
YY_BREAK
-case 56:
+case 57:
YY_RULE_SETUP
-#line 380 "lexer.l"
+#line 438 "lexer.l"
{return STRUCT;}
YY_BREAK
-case 57:
+case 58:
YY_RULE_SETUP
-#line 381 "lexer.l"
+#line 439 "lexer.l"
{return UNION;}
YY_BREAK
-case 58:
+case 59:
YY_RULE_SETUP
-#line 382 "lexer.l"
+#line 440 "lexer.l"
{return ENUM;}
YY_BREAK
-case 59:
+case 60:
YY_RULE_SETUP
-#line 383 "lexer.l"
+#line 441 "lexer.l"
{return SIGNED;}
YY_BREAK
-case 60:
+case 61:
YY_RULE_SETUP
-#line 384 "lexer.l"
+#line 442 "lexer.l"
{return UNSIGNED;}
YY_BREAK
-case 61:
+case 62:
YY_RULE_SETUP
-#line 385 "lexer.l"
+#line 443 "lexer.l"
{return LONG;}
YY_BREAK
-case 62:
+case 63:
YY_RULE_SETUP
-#line 386 "lexer.l"
+#line 444 "lexer.l"
{return SHORT;}
YY_BREAK
-case 63:
+case 64:
YY_RULE_SETUP
-#line 387 "lexer.l"
+#line 445 "lexer.l"
{return INT;}
YY_BREAK
-case 64:
+case 65:
YY_RULE_SETUP
-#line 388 "lexer.l"
+#line 446 "lexer.l"
{return FLOAT;}
YY_BREAK
-case 65:
+case 66:
YY_RULE_SETUP
-#line 389 "lexer.l"
+#line 447 "lexer.l"
{return DOUBLE;}
YY_BREAK
-case 66:
+case 67:
YY_RULE_SETUP
-#line 390 "lexer.l"
+#line 448 "lexer.l"
{return CHAR;}
YY_BREAK
-case 67:
+case 68:
YY_RULE_SETUP
-#line 391 "lexer.l"
+#line 449 "lexer.l"
{return CONST;}
YY_BREAK
-case 68:
+case 69:
YY_RULE_SETUP
-#line 393 "lexer.l"
+#line 451 "lexer.l"
{return THREEDOTS;}
YY_BREAK
-case 69:
+case 70:
YY_RULE_SETUP
-#line 395 "lexer.l"
+#line 453 "lexer.l"
{yylval.line = line_no; return PUBLIC;}
YY_BREAK
-case 70:
+case 71:
YY_RULE_SETUP
-#line 396 "lexer.l"
+#line 454 "lexer.l"
{yylval.line = line_no; return PRIVATE;}
YY_BREAK
-case 71:
+case 72:
YY_RULE_SETUP
-#line 397 "lexer.l"
+#line 455 "lexer.l"
{yylval.line = line_no; return PROTECTED;}
YY_BREAK
-case 72:
+case 73:
YY_RULE_SETUP
-#line 398 "lexer.l"
+#line 456 "lexer.l"
{yylval.line = line_no; return CLASSWIDE;}
YY_BREAK
-case 73:
+case 74:
YY_RULE_SETUP
-#line 399 "lexer.l"
+#line 457 "lexer.l"
{yylval.line = line_no; return ARGUMENT;}
YY_BREAK
-case 74:
+case 75:
YY_RULE_SETUP
-#line 400 "lexer.l"
+#line 458 "lexer.l"
{yylval.line = line_no; return VIRTUAL;}
YY_BREAK
-case 75:
+case 76:
YY_RULE_SETUP
-#line 401 "lexer.l"
+#line 459 "lexer.l"
{yylval.line = line_no; return SIGNAL;}
YY_BREAK
-case 76:
+case 77:
YY_RULE_SETUP
-#line 402 "lexer.l"
+#line 460 "lexer.l"
{yylval.line = line_no; return OVERRIDE;}
YY_BREAK
-case 77:
+case 78:
YY_RULE_SETUP
-#line 403 "lexer.l"
+#line 461 "lexer.l"
{
yylval.id = g_strdup(yytext);
return NUMBER;
}
YY_BREAK
-case 78:
+case 79:
YY_RULE_SETUP
-#line 407 "lexer.l"
+#line 465 "lexer.l"
{
/* this one is for a classname with a namespace */
yylval.id = g_strdup(yytext);
return TYPETOKEN;
}
YY_BREAK
-case 79:
+case 80:
YY_RULE_SETUP
-#line 412 "lexer.l"
+#line 470 "lexer.l"
{
/* this is for a classname with an empty namespace */
yylval.id = g_strdup(yytext);
return TYPETOKEN;
}
YY_BREAK
-case 80:
+case 81:
YY_RULE_SETUP
-#line 417 "lexer.l"
+#line 475 "lexer.l"
{
yylval.id = g_strdup(yytext);
return TOKEN;
}
YY_BREAK
-case 81:
+case 82:
YY_RULE_SETUP
-#line 422 "lexer.l"
+#line 480 "lexer.l"
{
yylval.id = g_strdup(yytext);
return ARRAY_DIM;
}
YY_BREAK
-case 82:
+case 83:
YY_RULE_SETUP
-#line 427 "lexer.l"
+#line 485 "lexer.l"
{
BEGIN(CLASS_CODE_I);
return '{';
}
YY_BREAK
-case 83:
+case 84:
YY_RULE_SETUP
-#line 431 "lexer.l"
+#line 489 "lexer.l"
{
BEGIN(C_CODE);
parenth_depth=1;
return '{';
}
YY_BREAK
-case 84:
+case 85:
YY_RULE_SETUP
-#line 440 "lexer.l"
+#line 498 "lexer.l"
{
BEGIN(INITIAL);
return '}';
}
YY_BREAK
-case 85:
+case 86:
YY_RULE_SETUP
-#line 445 "lexer.l"
+#line 503 "lexer.l"
; /*ignore*/
YY_BREAK
-case 86:
+case 87:
YY_RULE_SETUP
-#line 447 "lexer.l"
+#line 505 "lexer.l"
{
yylval.line = line_no;
return yytext[0];
}
YY_BREAK
-case 87:
+case 88:
YY_RULE_SETUP
-#line 452 "lexer.l"
+#line 510 "lexer.l"
; /*ignore*/
YY_BREAK
-case 88:
+case 89:
YY_RULE_SETUP
-#line 453 "lexer.l"
+#line 512 "lexer.l"
ECHO;
YY_BREAK
-#line 1798 "lex.yy.c"
+#line 1884 "lex.yy.c"
case YY_STATE_EOF(INITIAL):
case YY_STATE_EOF(COMMENT):
case YY_STATE_EOF(C_CODE):
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 >= 357 )
+ if ( yy_current_state >= 375 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
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 >= 357 )
+ if ( yy_current_state >= 375 )
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 == 356);
+ yy_is_jam = (yy_current_state == 374);
if ( ! yy_is_jam )
*yy_state_ptr++ = yy_current_state;
}
-#ifndef YY_ALWAYS_INTERACTIVE
-#ifndef YY_NEVER_INTERACTIVE
-extern int isatty YY_PROTO(( int ));
-#endif
-#endif
#ifdef YY_USE_PROTOS
void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )
return 0;
}
#endif
-#line 453 "lexer.l"
+#line 512 "lexer.l"
+
+
+/* Ugly warning avoiding */
+#ifdef FLEX_SCANNER
+static void warning_avoider(void) G_GNUC_UNUSED;
+static void warning_avoider(void) {
+ yy_flex_realloc(NULL, 0);
+ yyunput(0, NULL);
+ warning_avoider();
+}
+#endif
+