#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[401] =
+#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,
-
- 77, 86, 88, 77, 86, 88, 86, 88, 80, 86,
- 88, 80, 86, 88, 80, 86, 88, 80, 86, 88,
- 82, 86, 88, 86, 88, 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,
- 77, 23, 77, 77, 79, 80, 78, 80, 80, 80,
- 24, 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, 77, 19, 77, 77,
- 79, 79, 78, 80, 80, 80, 68, 20, 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[359] =
+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, 109, 112, 115, 118, 121, 124,
- 126, 128, 130, 133, 136, 139, 142, 145, 148, 151,
- 154, 157, 160, 163, 166, 169, 172, 175, 179, 182,
- 185, 188, 191, 195, 198, 201, 204, 207, 211, 214,
- 215, 215, 215, 215, 215, 215, 215, 215, 216, 216,
-
- 217, 217, 217, 217, 217, 217, 218, 218, 219, 219,
- 219, 220, 221, 222, 223, 223, 223, 224, 224, 224,
- 225, 226, 227, 228, 229, 230, 231, 231, 232, 232,
- 232, 232, 233, 234, 235, 236, 237, 238, 239, 240,
- 241, 242, 243, 244, 245, 246, 247, 248, 249, 250,
- 251, 252, 252, 252, 252, 253, 253, 254, 254, 254,
- 254, 255, 256, 256, 258, 259, 260, 260, 261, 261,
- 261, 261, 262, 262, 262, 263, 263, 263, 263, 263,
- 264, 264, 264, 264, 265, 266, 266, 267, 267, 268,
- 268, 269, 270, 271, 272, 273, 274, 275, 276, 277,
-
- 278, 278, 278, 279, 279, 279, 280, 281, 282, 283,
- 284, 285, 286, 288, 289, 290, 291, 292, 293, 294,
- 295, 296, 297, 298, 299, 300, 300, 301, 301, 301,
- 302, 302, 303, 304, 304, 304, 304, 305, 306, 307,
- 307, 308, 309, 311, 313, 313, 314, 315, 317, 318,
- 319, 320, 322, 323, 325, 326, 327, 328, 329, 330,
- 331, 332, 333, 334, 335, 337, 337, 338, 338, 338,
- 339, 339, 339, 339, 339, 339, 339, 340, 342, 344,
- 345, 347, 348, 349, 350, 351, 353, 354, 355, 356,
- 358, 359, 360, 360, 360, 360, 360, 360, 360, 361,
-
- 362, 364, 365, 366, 367, 369, 371, 373, 375, 376,
- 377, 377, 377, 377, 377, 377, 378, 379, 380, 382,
- 383, 384, 386, 386, 386, 386, 386, 386, 388, 389,
- 391, 392, 394, 394, 394, 394, 394, 394, 394, 396,
- 398, 398, 398, 398, 399, 399, 399, 399, 399, 400,
- 400, 400, 400, 400, 400, 400, 401, 401
+ 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[384] =
+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, 86,
- 78, 168, 99, 0, 823, 22, 49, 80, 849, 174,
- 93, 206, 50, 187, 78, 161, 176, 169, 183, 163,
- 188, 209, 175, 210, 849, 849, 849, 849, 827, 230,
- 236, 849, 849, 826, 249, 253, 836, 835, 105, 849,
- 834, 805, 238, 800, 220, 211, 206, 849, 789, 849,
-
- 0, 824, 225, 823, 822, 849, 827, 849, 261, 787,
- 849, 849, 254, 849, 825, 259, 270, 276, 0, 286,
- 808, 807, 806, 17, 262, 243, 811, 811, 819, 280,
- 791, 792, 271, 30, 214, 287, 288, 290, 292, 26,
- 294, 293, 295, 178, 297, 296, 298, 302, 299, 303,
- 849, 318, 322, 345, 849, 349, 849, 341, 353, 357,
- 849, 361, 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, 353, 800,
- 849, 357, 0, 783, 782, 781, 338, 72, 342, 849,
-
- 374, 796, 849, 768, 365, 359, 365, 367, 368, 300,
- 369, 371, 778, 372, 373, 374, 375, 377, 379, 378,
- 380, 384, 382, 385, 388, 429, 849, 749, 278, 849,
- 761, 849, 849, 744, 754, 767, 849, 849, 849, 751,
- 771, 381, 770, 769, 433, 849, 399, 768, 394, 397,
- 386, 767, 411, 766, 393, 418, 423, 424, 425, 431,
- 87, 427, 428, 432, 765, 450, 849, 465, 469, 849,
- 740, 747, 750, 734, 0, 730, 441, 435, 759, 442,
- 758, 456, 437, 445, 460, 757, 461, 463, 464, 756,
- 468, 469, 725, 715, 698, 710, 716, 686, 471, 470,
-
- 678, 472, 473, 475, 664, 651, 643, 580, 479, 477,
- 451, 563, 550, 586, 560, 483, 484, 486, 575, 492,
- 488, 574, 549, 553, 514, 508, 527, 570, 501, 559,
- 496, 549, 522, 519, 532, 523, 540, 522, 534, 516,
- 502, 546, 554, 849, 539, 423, 558, 546, 849, 371,
- 564, 234, 568, 585, 541, 849, 849, 603, 611, 619,
- 627, 635, 643, 651, 659, 667, 670, 674, 678, 686,
- 694, 702, 710, 715, 718, 722, 729, 734, 741, 745,
- 751, 758, 766
+ 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[384] =
+static yyconst short int yy_def[402] =
{ 0,
- 358, 358, 359, 359, 360, 360, 361, 361, 357, 9,
- 9, 11, 362, 362, 363, 363, 364, 364, 357, 357,
- 357, 357, 357, 357, 357, 357, 357, 357, 357, 357,
- 357, 357, 357, 357, 357, 357, 357, 357, 357, 365,
- 357, 357, 357, 357, 357, 357, 357, 357, 366, 357,
- 357, 357, 357, 367, 368, 368, 368, 368, 357, 357,
- 357, 369, 368, 368, 368, 368, 368, 368, 368, 368,
- 368, 368, 368, 368, 357, 357, 357, 357, 357, 357,
- 357, 357, 357, 357, 357, 357, 357, 357, 357, 357,
- 370, 357, 357, 357, 357, 357, 357, 357, 357, 357,
-
- 371, 357, 357, 357, 357, 357, 372, 357, 357, 357,
- 357, 357, 357, 357, 373, 357, 357, 357, 374, 357,
- 375, 368, 376, 368, 368, 368, 357, 357, 377, 357,
- 378, 357, 368, 368, 368, 368, 368, 368, 368, 368,
- 368, 368, 368, 368, 368, 368, 368, 368, 368, 368,
- 357, 357, 357, 357, 357, 379, 357, 357, 357, 357,
- 357, 357, 357, 357, 357, 357, 370, 357, 357, 357,
- 357, 357, 357, 357, 357, 357, 357, 357, 357, 357,
- 357, 357, 357, 357, 357, 372, 357, 357, 357, 373,
- 357, 357, 374, 375, 380, 376, 368, 368, 368, 357,
-
- 357, 377, 357, 378, 369, 368, 368, 368, 368, 368,
- 368, 368, 368, 368, 368, 368, 368, 368, 368, 368,
- 368, 368, 368, 368, 368, 381, 357, 357, 357, 357,
- 357, 357, 357, 357, 357, 357, 357, 357, 357, 357,
- 380, 368, 368, 368, 357, 357, 368, 368, 368, 368,
- 368, 368, 368, 368, 368, 368, 368, 368, 368, 368,
- 368, 368, 368, 368, 368, 357, 357, 381, 357, 357,
- 357, 357, 357, 357, 382, 357, 368, 368, 368, 368,
- 368, 368, 368, 368, 368, 368, 368, 368, 368, 368,
- 368, 368, 357, 357, 357, 357, 357, 357, 368, 368,
-
- 368, 368, 368, 368, 368, 368, 368, 368, 368, 368,
- 357, 357, 357, 357, 357, 368, 368, 368, 368, 368,
- 368, 368, 357, 357, 357, 357, 357, 368, 368, 368,
- 368, 368, 357, 357, 357, 357, 357, 357, 368, 368,
- 357, 357, 357, 357, 383, 357, 357, 383, 357, 357,
- 357, 357, 357, 357, 357, 357, 0, 357, 357, 357,
- 357, 357, 357, 357, 357, 357, 357, 357, 357, 357,
- 357, 357, 357, 357, 357, 357, 357, 357, 357, 357,
- 357, 357, 357
+ 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,
- 357, 21, 22, 23, 21, 26, 22, 23, 26, 30,
- 31, 27, 90, 24, 91, 30, 31, 24, 32, 35,
- 36, 106, 37, 107, 32, 38, 46, 47, 109, 48,
- 39, 109, 25, 22, 78, 123, 25, 33, 46, 47,
- 123, 48, 79, 93, 123, 40, 93, 197, 123, 28,
- 22, 83, 49, 80, 22, 78, 80, 22, 88, 84,
- 207, 124, 102, 81, 49, 110, 89, 123, 123, 41,
- 42, 35, 36, 213, 37, 43, 44, 38, 85, 22,
- 83, 85, 39, 22, 88, 103, 95, 94, 86, 114,
- 123, 115, 89, 96, 125, 133, 123, 40, 123, 97,
-
- 113, 113, 113, 113, 128, 123, 129, 165, 98, 104,
- 105, 116, 243, 120, 120, 120, 120, 126, 166, 289,
- 137, 41, 42, 20, 21, 22, 23, 21, 20, 20,
- 20, 20, 20, 20, 20, 50, 51, 52, 53, 53,
- 53, 54, 20, 20, 55, 55, 55, 55, 55, 55,
- 20, 20, 20, 55, 55, 56, 55, 55, 57, 55,
- 55, 55, 55, 55, 55, 55, 55, 55, 55, 55,
- 58, 55, 55, 55, 55, 59, 20, 60, 61, 123,
- 116, 123, 117, 117, 117, 118, 127, 123, 113, 113,
- 113, 113, 62, 123, 123, 63, 123, 64, 65, 66,
-
- 67, 123, 138, 68, 69, 123, 123, 70, 71, 218,
- 140, 72, 142, 73, 74, 139, 148, 75, 76, 119,
- 130, 130, 130, 130, 134, 141, 135, 123, 123, 136,
- 181, 152, 123, 143, 152, 132, 144, 154, 155, 93,
- 156, 153, 93, 176, 208, 173, 145, 146, 149, 151,
- 158, 177, 150, 158, 160, 161, 147, 162, 174, 170,
- 159, 123, 109, 175, 163, 109, 164, 171, 189, 189,
- 189, 189, 172, 192, 192, 192, 192, 182, 183, 176,
- 123, 199, 116, 94, 117, 117, 117, 118, 116, 123,
- 118, 118, 118, 118, 130, 130, 130, 130, 116, 110,
-
- 120, 120, 120, 120, 198, 123, 123, 206, 123, 132,
- 123, 123, 123, 123, 123, 123, 123, 123, 123, 152,
- 123, 123, 152, 154, 155, 271, 156, 215, 209, 153,
- 172, 251, 220, 216, 212, 214, 210, 217, 211, 219,
- 222, 225, 158, 221, 224, 158, 154, 155, 223, 154,
- 154, 155, 159, 154, 160, 161, 123, 162, 160, 161,
- 123, 160, 160, 161, 163, 160, 227, 189, 189, 189,
- 189, 192, 192, 192, 192, 245, 246, 123, 245, 130,
- 130, 130, 130, 123, 242, 123, 123, 123, 244, 123,
- 123, 123, 123, 123, 132, 123, 123, 123, 123, 123,
-
- 123, 253, 123, 123, 123, 352, 123, 247, 254, 252,
- 248, 123, 123, 249, 250, 123, 258, 123, 255, 260,
- 263, 265, 257, 256, 259, 280, 262, 244, 261, 123,
- 266, 267, 264, 266, 245, 246, 123, 245, 282, 277,
- 278, 123, 123, 123, 279, 123, 123, 269, 283, 123,
- 123, 266, 267, 123, 266, 123, 350, 284, 281, 123,
- 123, 287, 285, 123, 291, 288, 266, 267, 290, 266,
- 266, 267, 286, 266, 123, 299, 301, 304, 123, 123,
- 292, 123, 123, 269, 303, 300, 123, 123, 123, 123,
- 123, 123, 305, 123, 302, 123, 307, 123, 323, 310,
-
- 306, 123, 123, 175, 123, 318, 123, 319, 317, 309,
- 123, 308, 316, 321, 123, 335, 322, 329, 335, 123,
- 330, 332, 320, 336, 337, 337, 331, 345, 338, 340,
- 328, 338, 346, 335, 123, 339, 335, 343, 343, 343,
- 343, 345, 355, 356, 349, 355, 342, 342, 342, 342,
- 344, 349, 123, 341, 343, 343, 343, 343, 347, 349,
- 342, 342, 342, 342, 344, 174, 349, 123, 343, 343,
- 343, 343, 351, 351, 351, 351, 353, 123, 351, 351,
- 351, 351, 354, 354, 354, 354, 355, 356, 123, 355,
- 334, 333, 123, 123, 327, 326, 325, 324, 123, 354,
-
- 354, 354, 354, 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, 77, 77, 77, 77, 77,
- 77, 77, 77, 82, 82, 82, 82, 82, 82, 82,
- 82, 87, 87, 87, 87, 87, 87, 87, 87, 108,
- 108, 123, 108, 108, 108, 108, 108, 112, 112, 123,
- 112, 112, 112, 112, 112, 121, 121, 122, 122, 122,
- 122, 131, 123, 131, 131, 131, 167, 167, 167, 167,
- 167, 167, 167, 167, 179, 179, 123, 179, 179, 179,
-
- 179, 179, 186, 186, 186, 186, 186, 186, 186, 186,
- 190, 190, 190, 190, 190, 190, 190, 190, 193, 315,
- 193, 194, 194, 194, 194, 196, 196, 196, 196, 202,
- 202, 202, 202, 202, 202, 202, 202, 204, 314, 204,
- 204, 204, 226, 226, 313, 312, 226, 226, 241, 241,
- 241, 241, 268, 268, 268, 268, 268, 268, 297, 297,
- 311, 297, 297, 297, 297, 297, 348, 348, 171, 348,
- 348, 348, 348, 348, 123, 123, 123, 123, 298, 296,
- 295, 294, 293, 123, 123, 123, 123, 123, 123, 195,
- 276, 275, 274, 273, 272, 270, 123, 132, 203, 123,
-
- 195, 195, 191, 240, 187, 239, 238, 237, 236, 235,
- 234, 233, 232, 231, 230, 229, 228, 168, 227, 205,
- 132, 203, 201, 200, 123, 123, 195, 191, 188, 187,
- 185, 184, 180, 178, 99, 169, 168, 165, 165, 157,
- 151, 123, 111, 101, 100, 99, 92, 357, 19, 357,
- 357, 357, 357, 357, 357, 357, 357, 357, 357, 357,
- 357, 357, 357, 357, 357, 357, 357, 357, 357, 357,
- 357, 357, 357, 357, 357, 357, 357, 357, 357, 357,
- 357, 357, 357, 357, 357, 357, 357, 357, 357, 357,
- 357, 357, 357, 357, 357, 357, 357, 357, 357, 357,
-
- 357, 357, 357
+ 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, 124, 2, 4, 8, 8,
- 56, 8, 13, 26, 140, 5, 26, 124, 134, 2,
- 15, 15, 7, 14, 14, 14, 14, 17, 17, 15,
- 134, 56, 38, 14, 8, 43, 17, 57, 63, 5,
- 5, 6, 6, 140, 6, 6, 6, 6, 16, 16,
- 16, 16, 6, 18, 18, 38, 27, 26, 16, 51,
- 198, 51, 18, 27, 57, 63, 65, 6, 58, 27,
-
- 50, 50, 50, 50, 61, 261, 61, 89, 27, 38,
- 38, 53, 198, 53, 53, 53, 53, 58, 89, 261,
- 65, 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, 66,
- 52, 70, 52, 52, 52, 52, 60, 68, 60, 60,
- 60, 60, 11, 73, 67, 11, 144, 11, 11, 11,
-
- 11, 69, 66, 11, 11, 64, 71, 11, 11, 144,
- 68, 11, 70, 11, 11, 67, 73, 11, 11, 52,
- 62, 62, 62, 62, 64, 69, 64, 72, 74, 64,
- 103, 80, 135, 71, 80, 62, 71, 81, 81, 93,
- 81, 80, 93, 97, 135, 96, 72, 72, 74, 81,
- 85, 97, 74, 85, 86, 86, 72, 86, 96, 95,
- 85, 126, 109, 96, 86, 109, 86, 95, 113, 113,
- 113, 113, 95, 116, 116, 116, 116, 103, 103, 352,
- 125, 126, 117, 93, 117, 117, 117, 117, 118, 133,
- 118, 118, 118, 118, 130, 130, 130, 130, 120, 109,
-
- 120, 120, 120, 120, 125, 136, 137, 133, 138, 130,
- 139, 142, 141, 143, 146, 145, 147, 149, 210, 152,
- 148, 150, 152, 153, 153, 229, 153, 142, 136, 152,
- 229, 210, 146, 143, 139, 141, 137, 143, 138, 145,
- 148, 150, 158, 147, 149, 158, 154, 154, 148, 154,
- 156, 156, 158, 156, 159, 159, 197, 159, 160, 160,
- 199, 160, 162, 162, 159, 162, 159, 189, 189, 189,
- 189, 192, 192, 192, 192, 201, 201, 206, 201, 205,
- 205, 205, 205, 207, 197, 208, 209, 211, 199, 212,
- 214, 215, 216, 217, 205, 218, 220, 219, 221, 242,
-
- 223, 212, 222, 224, 251, 350, 225, 206, 214, 211,
- 207, 255, 249, 208, 209, 250, 218, 247, 215, 220,
- 223, 225, 217, 216, 219, 251, 222, 242, 221, 253,
- 226, 226, 224, 226, 245, 245, 256, 245, 255, 247,
- 249, 257, 258, 259, 250, 262, 263, 226, 256, 260,
- 264, 266, 266, 278, 266, 283, 346, 257, 253, 277,
- 280, 260, 258, 284, 263, 260, 268, 268, 262, 268,
- 269, 269, 259, 269, 282, 277, 280, 284, 285, 287,
- 264, 288, 289, 268, 283, 278, 291, 292, 300, 299,
- 302, 303, 285, 304, 282, 310, 288, 309, 311, 292,
-
- 287, 316, 317, 311, 318, 302, 321, 303, 300, 291,
- 320, 289, 299, 309, 331, 325, 310, 317, 325, 329,
- 318, 321, 304, 326, 326, 326, 320, 338, 327, 331,
- 316, 327, 341, 335, 340, 329, 335, 336, 336, 336,
- 336, 338, 355, 355, 345, 355, 335, 335, 335, 335,
- 337, 348, 339, 334, 337, 337, 337, 337, 342, 345,
- 342, 342, 342, 342, 343, 333, 348, 332, 343, 343,
- 343, 343, 347, 347, 347, 347, 351, 330, 351, 351,
- 351, 351, 353, 353, 353, 353, 354, 354, 328, 354,
- 324, 323, 322, 319, 315, 314, 313, 312, 308, 354,
-
- 354, 354, 354, 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, 364, 364, 364, 364, 364, 364, 365,
- 365, 307, 365, 365, 365, 365, 365, 366, 366, 306,
- 366, 366, 366, 366, 366, 367, 367, 368, 368, 368,
- 368, 369, 305, 369, 369, 369, 370, 370, 370, 370,
- 370, 370, 370, 370, 371, 371, 301, 371, 371, 371,
-
- 371, 371, 372, 372, 372, 372, 372, 372, 372, 372,
- 373, 373, 373, 373, 373, 373, 373, 373, 374, 298,
- 374, 375, 375, 375, 375, 376, 376, 376, 376, 377,
- 377, 377, 377, 377, 377, 377, 377, 378, 297, 378,
- 378, 378, 379, 379, 296, 295, 379, 379, 380, 380,
- 380, 380, 381, 381, 381, 381, 381, 381, 382, 382,
- 294, 382, 382, 382, 382, 382, 383, 383, 293, 383,
- 383, 383, 383, 383, 290, 286, 281, 279, 276, 274,
- 273, 272, 271, 265, 254, 252, 248, 244, 243, 241,
- 240, 236, 235, 234, 231, 228, 213, 204, 202, 196,
-
- 195, 194, 190, 188, 186, 183, 182, 181, 179, 178,
- 177, 176, 174, 173, 171, 170, 169, 167, 163, 132,
- 131, 129, 128, 127, 123, 122, 121, 115, 110, 107,
- 105, 104, 102, 99, 94, 92, 91, 88, 87, 84,
- 79, 55, 44, 33, 32, 28, 25, 19, 357, 357,
- 357, 357, 357, 357, 357, 357, 357, 357, 357, 357,
- 357, 357, 357, 357, 357, 357, 357, 357, 357, 357,
- 357, 357, 357, 357, 357, 357, 357, 357, 357, 357,
- 357, 357, 357, 357, 357, 357, 357, 357, 357, 357,
- 357, 357, 357, 357, 357, 357, 357, 357, 357, 357,
-
- 357, 357, 357
+ 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)
#define GTK_DOC_LINE 8
-#line 843 "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 102 "lexer.l"
+#line 105 "lexer.l"
-#line 1000 "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 >= 358 )
+ 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 104 "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 106 "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 128 "lexer.l"
+#line 131 "lexer.l"
{ ; /*comment, ignore*/ }
YY_BREAK
case 4:
YY_RULE_SETUP
-#line 129 "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 146 "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 151 "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 155 "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 165 "lexer.l"
+#line 206 "lexer.l"
{
BEGIN(CLASS_CODE_I);
}
YY_BREAK
-case 9:
+case 10:
YY_RULE_SETUP
-#line 168 "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 172 "lexer.l"
+#line 213 "lexer.l"
{
/* empty doc lines */
add_to_cbuf(" *\n");
}
YY_BREAK
-case 11:
+case 12:
YY_RULE_SETUP
-#line 176 "lexer.l"
+#line 217 "lexer.l"
{
BEGIN(CLASS_CODE_I);
add_gtk_doc_func();
}
YY_BREAK
-case 12:
+case 13:
YY_RULE_SETUP
-#line 180 "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 185 "lexer.l"
+#line 226 "lexer.l"
{
BEGIN(CLASS_CODE_I);
}
YY_BREAK
-case 14:
+case 15:
YY_RULE_SETUP
-#line 188 "lexer.l"
+#line 229 "lexer.l"
{
BEGIN(COMMENT);
before_comment = CLASS_CODE_I;
}
YY_BREAK
-case 15:
+case 16:
YY_RULE_SETUP
-#line 192 "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 197 "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 202 "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 207 "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 208 "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 209 "lexer.l"
+#line 250 "lexer.l"
{ ; /*comment, ignore*/ }
YY_BREAK
-case 21:
+case 22:
YY_RULE_SETUP
-#line 210 "lexer.l"
+#line 251 "lexer.l"
{BEGIN(COMMENT); before_comment = INITIAL; }
YY_BREAK
-case 22:
+case 23:
YY_RULE_SETUP
-#line 211 "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 216 "lexer.l"
+#line 257 "lexer.l"
{BEGIN(COMMENT); before_comment = CLASS_CODE; }
YY_BREAK
-case 24:
+case 25:
YY_RULE_SETUP
-#line 217 "lexer.l"
+#line 258 "lexer.l"
{BEGIN(COMMENT); before_comment = CLASS_CODE_I; }
YY_BREAK
-case 25:
+case 26:
YY_RULE_SETUP
-#line 218 "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 222 "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 226 "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 231 "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 239 "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 248 "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 256 "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 264 "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 272 "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 282 "lexer.l"
+#line 323 "lexer.l"
{
BEGIN(INITIAL);
yylval.cbuf = cbuf;
return code_type;
}
YY_BREAK
-case 35:
-YY_RULE_SETUP
-#line 291 "lexer.l"
-{ add_to_cbuf(yytext); }
- YY_BREAK
case 36:
YY_RULE_SETUP
-#line 292 "lexer.l"
+#line 332 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
case 37:
YY_RULE_SETUP
-#line 293 "lexer.l"
+#line 333 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
case 38:
YY_RULE_SETUP
-#line 294 "lexer.l"
+#line 334 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
case 39:
YY_RULE_SETUP
-#line 295 "lexer.l"
+#line 335 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
case 40:
YY_RULE_SETUP
-#line 296 "lexer.l"
+#line 336 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
case 41:
YY_RULE_SETUP
-#line 298 "lexer.l"
+#line 337 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
case 42:
YY_RULE_SETUP
-#line 299 "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 303 "lexer.l"
+#line 344 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 44:
+case 45:
YY_RULE_SETUP
-#line 304 "lexer.l"
+#line 345 "lexer.l"
{
BEGIN(C_CODE);
add_to_cbuf(yytext);
}
YY_BREAK
-case 45:
+case 46:
YY_RULE_SETUP
-#line 308 "lexer.l"
+#line 349 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 46:
+case 47:
YY_RULE_SETUP
-#line 309 "lexer.l"
+#line 350 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 47:
+case 48:
YY_RULE_SETUP
-#line 311 "lexer.l"
+#line 352 "lexer.l"
{
parenth_depth++;
add_to_cbuf(yytext);
}
YY_BREAK
-case 48:
+case 49:
YY_RULE_SETUP
-#line 315 "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 328 "lexer.l"
+#line 369 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 50:
+case 51:
YY_RULE_SETUP
-#line 329 "lexer.l"
+#line 370 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 51:
+case 52:
YY_RULE_SETUP
-#line 331 "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 345 "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 369 "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 381 "lexer.l"
+#line 435 "lexer.l"
{return FROM;}
YY_BREAK
-case 55:
+case 56:
YY_RULE_SETUP
-#line 383 "lexer.l"
+#line 437 "lexer.l"
{return VOID;}
YY_BREAK
-case 56:
+case 57:
YY_RULE_SETUP
-#line 384 "lexer.l"
+#line 438 "lexer.l"
{return STRUCT;}
YY_BREAK
-case 57:
+case 58:
YY_RULE_SETUP
-#line 385 "lexer.l"
+#line 439 "lexer.l"
{return UNION;}
YY_BREAK
-case 58:
+case 59:
YY_RULE_SETUP
-#line 386 "lexer.l"
+#line 440 "lexer.l"
{return ENUM;}
YY_BREAK
-case 59:
+case 60:
YY_RULE_SETUP
-#line 387 "lexer.l"
+#line 441 "lexer.l"
{return SIGNED;}
YY_BREAK
-case 60:
+case 61:
YY_RULE_SETUP
-#line 388 "lexer.l"
+#line 442 "lexer.l"
{return UNSIGNED;}
YY_BREAK
-case 61:
+case 62:
YY_RULE_SETUP
-#line 389 "lexer.l"
+#line 443 "lexer.l"
{return LONG;}
YY_BREAK
-case 62:
+case 63:
YY_RULE_SETUP
-#line 390 "lexer.l"
+#line 444 "lexer.l"
{return SHORT;}
YY_BREAK
-case 63:
+case 64:
YY_RULE_SETUP
-#line 391 "lexer.l"
+#line 445 "lexer.l"
{return INT;}
YY_BREAK
-case 64:
+case 65:
YY_RULE_SETUP
-#line 392 "lexer.l"
+#line 446 "lexer.l"
{return FLOAT;}
YY_BREAK
-case 65:
+case 66:
YY_RULE_SETUP
-#line 393 "lexer.l"
+#line 447 "lexer.l"
{return DOUBLE;}
YY_BREAK
-case 66:
+case 67:
YY_RULE_SETUP
-#line 394 "lexer.l"
+#line 448 "lexer.l"
{return CHAR;}
YY_BREAK
-case 67:
+case 68:
YY_RULE_SETUP
-#line 395 "lexer.l"
+#line 449 "lexer.l"
{return CONST;}
YY_BREAK
-case 68:
+case 69:
YY_RULE_SETUP
-#line 397 "lexer.l"
+#line 451 "lexer.l"
{return THREEDOTS;}
YY_BREAK
-case 69:
+case 70:
YY_RULE_SETUP
-#line 399 "lexer.l"
+#line 453 "lexer.l"
{yylval.line = line_no; return PUBLIC;}
YY_BREAK
-case 70:
+case 71:
YY_RULE_SETUP
-#line 400 "lexer.l"
+#line 454 "lexer.l"
{yylval.line = line_no; return PRIVATE;}
YY_BREAK
-case 71:
+case 72:
YY_RULE_SETUP
-#line 401 "lexer.l"
+#line 455 "lexer.l"
{yylval.line = line_no; return PROTECTED;}
YY_BREAK
-case 72:
+case 73:
YY_RULE_SETUP
-#line 402 "lexer.l"
+#line 456 "lexer.l"
{yylval.line = line_no; return CLASSWIDE;}
YY_BREAK
-case 73:
+case 74:
YY_RULE_SETUP
-#line 403 "lexer.l"
+#line 457 "lexer.l"
{yylval.line = line_no; return ARGUMENT;}
YY_BREAK
-case 74:
+case 75:
YY_RULE_SETUP
-#line 404 "lexer.l"
+#line 458 "lexer.l"
{yylval.line = line_no; return VIRTUAL;}
YY_BREAK
-case 75:
+case 76:
YY_RULE_SETUP
-#line 405 "lexer.l"
+#line 459 "lexer.l"
{yylval.line = line_no; return SIGNAL;}
YY_BREAK
-case 76:
+case 77:
YY_RULE_SETUP
-#line 406 "lexer.l"
+#line 460 "lexer.l"
{yylval.line = line_no; return OVERRIDE;}
YY_BREAK
-case 77:
+case 78:
YY_RULE_SETUP
-#line 407 "lexer.l"
+#line 461 "lexer.l"
{
yylval.id = g_strdup(yytext);
return NUMBER;
}
YY_BREAK
-case 78:
+case 79:
YY_RULE_SETUP
-#line 411 "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 416 "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 421 "lexer.l"
+#line 475 "lexer.l"
{
yylval.id = g_strdup(yytext);
return TOKEN;
}
YY_BREAK
-case 81:
+case 82:
YY_RULE_SETUP
-#line 426 "lexer.l"
+#line 480 "lexer.l"
{
yylval.id = g_strdup(yytext);
return ARRAY_DIM;
}
YY_BREAK
-case 82:
+case 83:
YY_RULE_SETUP
-#line 431 "lexer.l"
+#line 485 "lexer.l"
{
BEGIN(CLASS_CODE_I);
return '{';
}
YY_BREAK
-case 83:
+case 84:
YY_RULE_SETUP
-#line 435 "lexer.l"
+#line 489 "lexer.l"
{
BEGIN(C_CODE);
parenth_depth=1;
return '{';
}
YY_BREAK
-case 84:
+case 85:
YY_RULE_SETUP
-#line 444 "lexer.l"
+#line 498 "lexer.l"
{
BEGIN(INITIAL);
return '}';
}
YY_BREAK
-case 85:
+case 86:
YY_RULE_SETUP
-#line 449 "lexer.l"
+#line 503 "lexer.l"
; /*ignore*/
YY_BREAK
-case 86:
+case 87:
YY_RULE_SETUP
-#line 451 "lexer.l"
+#line 505 "lexer.l"
{
yylval.line = line_no;
return yytext[0];
}
YY_BREAK
-case 87:
+case 88:
YY_RULE_SETUP
-#line 456 "lexer.l"
+#line 510 "lexer.l"
; /*ignore*/
YY_BREAK
-case 88:
+case 89:
YY_RULE_SETUP
-#line 458 "lexer.l"
+#line 512 "lexer.l"
ECHO;
YY_BREAK
-#line 1802 "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 >= 358 )
+ 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 >= 358 )
+ 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 == 357);
+ 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 458 "lexer.l"
+#line 512 "lexer.l"
/* Ugly warning avoiding */