#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 58
-#define YY_END_OF_BUFFER 59
-static yyconst short int yy_acclist[269] =
+#define YY_NUM_RULES 89
+#define YY_END_OF_BUFFER 90
+static yyconst short int yy_acclist[420] =
{ 0,
- 59, 57, 58, 56, 57, 58, 1, 56, 58, 57,
- 58, 57, 58, 57, 58, 11, 57, 58, 1, 12,
- 58, 11, 57, 58, 27, 57, 58, 1, 28, 58,
- 21, 27, 57, 58, 27, 57, 58, 27, 57, 58,
- 27, 57, 58, 25, 27, 57, 58, 26, 27, 57,
- 58, 27, 57, 58, 24, 57, 58, 1, 58, 23,
- 24, 57, 58, 24, 57, 58, 57, 58, 57, 58,
- 52, 57, 58, 52, 57, 58, 53, 57, 58, 57,
- 58, 57, 58, 50, 57, 58, 50, 57, 58, 52,
- 57, 58, 52, 57, 58, 52, 57, 58, 52, 57,
-
- 58, 52, 57, 58, 52, 57, 58, 52, 57, 58,
- 52, 57, 58, 52, 57, 58, 52, 57, 58, 52,
- 57, 58, 52, 57, 58, 54, 57, 58, 55, 57,
- 58, 6, 14, 10, 7, 20, 15, 22, 8, 52,
- 51, 52, 50, 9, 50, 50, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 2, 13, 16, 18, 3, 4, 51,
- 52, 50, 5, 50, 50, 52, 52, 52, 52, 52,
- 39, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 17, 19, 30, 52, 52, 42,
-
- 52, 52, 34, 52, 52, 37, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 31, 52, 29,
- 52, 52, 40, 52, 52, 52, 52, 52, 38, 52,
- 52, 52, 52, 33, 52, 52, 52, 52, 41, 52,
- 52, 52, 52, 43, 52, 47, 52, 35, 52, 32,
- 52, 52, 52, 52, 49, 52, 52, 44, 52, 52,
- 46, 52, 45, 52, 48, 52, 36, 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[200] =
+static yyconst short int yy_accept[376] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 2, 4, 7, 10, 12, 14, 16,
- 19, 22, 25, 28, 31, 35, 38, 41, 44, 48,
- 52, 55, 58, 60, 64, 67, 69, 71, 74, 77,
- 80, 82, 84, 87, 90, 93, 96, 99, 102, 105,
- 108, 111, 114, 117, 120, 123, 126, 129, 132, 133,
- 133, 133, 133, 134, 135, 135, 135, 135, 136, 136,
- 137, 138, 139, 140, 140, 140, 141, 142, 143, 144,
- 145, 145, 145, 146, 146, 146, 147, 148, 149, 150,
- 151, 152, 153, 154, 155, 156, 157, 158, 159, 160,
-
- 161, 162, 163, 164, 164, 165, 165, 166, 166, 166,
- 167, 168, 168, 169, 169, 170, 170, 171, 172, 173,
- 173, 174, 175, 176, 177, 178, 179, 180, 181, 183,
- 184, 185, 186, 187, 188, 189, 190, 191, 192, 193,
- 194, 195, 195, 196, 197, 199, 200, 202, 203, 205,
- 206, 208, 209, 210, 211, 212, 213, 214, 215, 216,
- 217, 218, 220, 221, 222, 223, 225, 226, 227, 228,
- 229, 231, 232, 233, 234, 236, 237, 238, 239, 241,
- 242, 243, 244, 246, 248, 250, 252, 253, 254, 255,
- 257, 258, 260, 261, 263, 265, 267, 269, 269
-
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
+ 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, 4, 5, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 2, 1, 4, 1, 1, 5, 1, 6, 1,
- 1, 7, 1, 1, 1, 8, 9, 10, 11, 11,
- 11, 11, 11, 11, 11, 12, 12, 13, 1, 1,
- 1, 1, 1, 1, 14, 14, 14, 14, 14, 14,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 1, 16, 1, 1, 15, 1, 17, 18, 19, 20,
-
- 21, 22, 23, 24, 25, 15, 15, 26, 27, 28,
- 29, 30, 15, 31, 32, 33, 34, 35, 15, 36,
- 15, 15, 37, 1, 38, 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[39] =
+static yyconst int yy_meta[56] =
{ 0,
- 1, 1, 2, 1, 1, 1, 1, 1, 1, 3,
- 3, 3, 4, 5, 6, 1, 5, 5, 5, 5,
- 5, 5, 6, 6, 6, 6, 6, 6, 6, 6,
- 6, 6, 6, 6, 6, 6, 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[214] =
+static yyconst short int yy_base[402] =
{ 0,
- 0, 2, 3, 5, 19, 55, 10, 13, 93, 0,
- 124, 0, 434, 435, 435, 435, 11, 407, 0, 435,
- 435, 423, 435, 435, 435, 11, 23, 0, 435, 435,
- 393, 435, 435, 435, 0, 24, 0, 417, 21, 435,
- 28, 34, 34, 43, 34, 49, 37, 50, 54, 55,
- 56, 129, 134, 127, 59, 61, 435, 435, 435, 426,
- 411, 390, 435, 435, 38, 420, 419, 435, 421, 435,
- 435, 435, 435, 420, 409, 408, 407, 126, 159, 435,
- 416, 162, 167, 172, 0, 177, 66, 64, 2, 163,
- 173, 168, 135, 177, 178, 179, 182, 180, 183, 181,
-
- 190, 192, 194, 415, 435, 385, 435, 410, 409, 435,
- 435, 411, 435, 410, 435, 399, 398, 197, 206, 407,
- 435, 215, 0, 195, 200, 215, 207, 71, 395, 198,
- 201, 217, 222, 223, 224, 225, 226, 227, 229, 228,
- 230, 332, 435, 435, 345, 231, 318, 233, 317, 232,
- 316, 238, 239, 249, 250, 234, 251, 258, 260, 261,
- 263, 315, 435, 265, 266, 314, 267, 268, 269, 270,
- 313, 272, 279, 277, 312, 278, 287, 281, 311, 282,
- 288, 290, 308, 307, 306, 304, 294, 292, 299, 154,
- 301, 153, 303, 125, 124, 78, 69, 435, 332, 338,
-
- 344, 350, 356, 362, 364, 368, 374, 380, 386, 390,
- 394, 400, 404
+ 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[214] =
+static yyconst short int yy_def[402] =
{ 0,
- 199, 199, 200, 200, 201, 201, 202, 202, 198, 9,
- 9, 11, 198, 198, 198, 198, 198, 198, 198, 198,
- 198, 198, 198, 198, 198, 198, 198, 203, 198, 198,
- 198, 198, 198, 198, 204, 198, 205, 206, 206, 198,
- 198, 198, 198, 198, 206, 206, 206, 206, 206, 206,
- 206, 206, 206, 206, 206, 206, 198, 198, 198, 207,
- 198, 198, 198, 198, 198, 198, 198, 198, 208, 198,
- 198, 198, 198, 209, 210, 206, 211, 206, 198, 198,
- 212, 198, 198, 198, 213, 198, 206, 206, 206, 206,
- 206, 206, 206, 206, 206, 206, 206, 206, 206, 206,
-
- 206, 206, 206, 207, 198, 198, 198, 198, 198, 198,
- 198, 208, 198, 209, 198, 210, 211, 206, 198, 212,
- 198, 198, 213, 206, 206, 206, 206, 206, 206, 206,
- 206, 206, 206, 206, 206, 206, 206, 206, 206, 206,
- 206, 198, 198, 198, 206, 206, 206, 206, 206, 206,
- 206, 206, 206, 206, 206, 206, 206, 206, 206, 206,
- 206, 206, 198, 206, 206, 206, 206, 206, 206, 206,
- 206, 206, 206, 206, 206, 206, 206, 206, 206, 206,
- 206, 206, 206, 206, 206, 206, 206, 206, 206, 206,
- 206, 206, 206, 206, 206, 206, 206, 0, 198, 198,
-
- 198, 198, 198, 198, 198, 198, 198, 198, 198, 198,
- 198, 198, 198
+ 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[474] =
+static yyconst short int yy_nxt[984] =
{ 0,
- 198, 15, 16, 15, 16, 21, 19, 21, 17, 22,
- 17, 22, 33, 34, 77, 33, 34, 59, 18, 60,
- 18, 24, 25, 62, 26, 35, 65, 27, 35, 68,
- 73, 69, 74, 77, 28, 126, 63, 79, 79, 79,
- 80, 82, 81, 83, 83, 84, 77, 66, 67, 77,
- 82, 78, 86, 86, 86, 29, 30, 24, 25, 31,
- 26, 77, 77, 27, 87, 89, 77, 77, 77, 85,
- 28, 77, 88, 77, 108, 109, 77, 90, 77, 91,
- 125, 77, 92, 77, 93, 102, 101, 150, 124, 103,
- 77, 29, 30, 14, 15, 16, 14, 14, 14, 14,
-
- 14, 36, 14, 14, 14, 37, 38, 38, 14, 38,
- 38, 38, 38, 38, 39, 38, 38, 38, 38, 38,
- 38, 38, 38, 38, 38, 38, 38, 38, 38, 40,
- 14, 41, 42, 43, 44, 44, 77, 77, 77, 77,
- 45, 77, 46, 47, 48, 49, 77, 77, 50, 51,
- 98, 99, 52, 53, 118, 54, 94, 55, 56, 100,
- 57, 58, 130, 95, 96, 77, 77, 97, 119, 119,
- 119, 122, 122, 122, 82, 77, 83, 83, 84, 82,
- 77, 84, 84, 84, 82, 77, 86, 86, 86, 77,
- 77, 77, 77, 77, 77, 77, 127, 131, 132, 134,
-
- 129, 128, 77, 133, 77, 136, 77, 77, 135, 77,
- 77, 137, 77, 77, 138, 119, 119, 119, 141, 77,
- 151, 139, 140, 145, 122, 122, 122, 77, 146, 77,
- 147, 152, 148, 149, 77, 77, 77, 77, 77, 77,
- 77, 77, 77, 77, 77, 77, 77, 153, 155, 162,
- 77, 77, 157, 160, 156, 159, 154, 164, 165, 158,
- 161, 77, 77, 77, 166, 169, 171, 172, 167, 168,
- 77, 173, 77, 77, 170, 77, 174, 77, 77, 77,
- 77, 77, 77, 176, 77, 178, 179, 175, 183, 77,
- 77, 77, 181, 77, 77, 180, 177, 184, 185, 77,
-
- 77, 182, 77, 188, 77, 187, 77, 191, 189, 186,
- 192, 77, 190, 77, 193, 77, 77, 194, 77, 77,
- 77, 196, 197, 77, 77, 77, 77, 77, 77, 77,
- 77, 195, 14, 14, 14, 14, 14, 14, 20, 20,
- 20, 20, 20, 20, 23, 23, 23, 23, 23, 23,
- 32, 32, 32, 32, 32, 32, 70, 77, 70, 70,
- 70, 70, 72, 163, 72, 72, 72, 72, 75, 75,
- 76, 76, 76, 76, 104, 104, 104, 104, 104, 104,
- 112, 112, 112, 112, 112, 112, 114, 114, 114, 114,
- 114, 114, 116, 116, 116, 116, 117, 117, 117, 117,
-
- 120, 120, 120, 120, 120, 120, 123, 77, 123, 121,
- 77, 77, 115, 113, 144, 143, 142, 105, 121, 77,
- 77, 77, 115, 113, 111, 110, 107, 106, 105, 77,
- 71, 64, 61, 198, 13, 198, 198, 198, 198, 198,
- 198, 198, 198, 198, 198, 198, 198, 198, 198, 198,
- 198, 198, 198, 198, 198, 198, 198, 198, 198, 198,
- 198, 198, 198, 198, 198, 198, 198, 198, 198, 198,
- 198, 198, 198
+ 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[474] =
+static yyconst short int yy_chk[984] =
{ 0,
- 0, 1, 1, 2, 2, 3, 2, 4, 1, 3,
- 2, 4, 7, 7, 89, 8, 8, 17, 1, 17,
- 2, 5, 5, 19, 5, 7, 26, 5, 8, 27,
- 36, 27, 36, 39, 5, 89, 19, 41, 41, 41,
- 42, 43, 42, 43, 43, 43, 45, 26, 26, 47,
- 44, 39, 44, 44, 44, 5, 5, 6, 6, 6,
- 6, 46, 48, 6, 45, 47, 49, 50, 51, 43,
- 6, 55, 46, 56, 65, 65, 88, 48, 87, 49,
- 88, 197, 50, 128, 51, 56, 55, 128, 87, 56,
- 196, 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, 11, 11, 11, 11, 11, 195, 194, 78, 54,
- 11, 52, 11, 11, 11, 11, 53, 93, 11, 11,
- 54, 54, 11, 11, 78, 11, 52, 11, 11, 54,
- 11, 11, 93, 52, 53, 192, 190, 53, 79, 79,
- 79, 82, 82, 82, 83, 90, 83, 83, 83, 84,
- 92, 84, 84, 84, 86, 91, 86, 86, 86, 94,
- 95, 96, 98, 100, 97, 99, 90, 94, 95, 97,
-
- 92, 91, 101, 96, 102, 99, 103, 124, 98, 118,
- 130, 100, 125, 131, 101, 119, 119, 119, 103, 127,
- 130, 101, 102, 118, 122, 122, 122, 126, 124, 132,
- 125, 131, 126, 127, 133, 134, 135, 136, 137, 138,
- 140, 139, 141, 146, 150, 148, 156, 132, 134, 141,
- 152, 153, 136, 139, 135, 138, 133, 146, 148, 137,
- 140, 154, 155, 157, 150, 154, 156, 157, 152, 153,
- 158, 157, 159, 160, 155, 161, 158, 164, 165, 167,
- 168, 169, 170, 160, 172, 164, 165, 159, 170, 174,
- 176, 173, 168, 178, 180, 167, 161, 172, 173, 177,
-
- 181, 169, 182, 177, 188, 176, 187, 181, 178, 174,
- 182, 189, 180, 191, 187, 193, 186, 188, 185, 184,
- 183, 191, 193, 179, 175, 171, 166, 162, 151, 149,
- 147, 189, 199, 199, 199, 199, 199, 199, 200, 200,
- 200, 200, 200, 200, 201, 201, 201, 201, 201, 201,
- 202, 202, 202, 202, 202, 202, 203, 145, 203, 203,
- 203, 203, 204, 142, 204, 204, 204, 204, 205, 205,
- 206, 206, 206, 206, 207, 207, 207, 207, 207, 207,
- 208, 208, 208, 208, 208, 208, 209, 209, 209, 209,
- 209, 209, 210, 210, 210, 210, 211, 211, 211, 211,
-
- 212, 212, 212, 212, 212, 212, 213, 129, 213, 120,
- 117, 116, 114, 112, 109, 108, 106, 104, 81, 77,
- 76, 75, 74, 69, 67, 66, 62, 61, 60, 38,
- 31, 22, 18, 13, 198, 198, 198, 198, 198, 198,
- 198, 198, 198, 198, 198, 198, 198, 198, 198, 198,
- 198, 198, 198, 198, 198, 198, 198, 198, 198, 198,
- 198, 198, 198, 198, 198, 198, 198, 198, 198, 198,
- 198, 198, 198
+ 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"
+#include "main.h"
+#include "util.h"
static int parenth_depth = 0;
static int before_comment = INITIAL;
-static int class_after_c = FALSE;
-static int header_c = FALSE;
+static gboolean class_after_c = FALSE;
+static int code_type = CCODE;
+
+/* GTK+ doc stuff */
+static char *gtk_doc_func = NULL; /* current gtk-doc func */
+GHashTable *gtk_doc_hash = NULL;
static GString *cbuf = NULL;
int ccode_line = 1;
+GList *include_files = NULL;
+/* 0 no, 1 means yes, 2+ means don't even start looking anymore */
+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)
{
if(!cbuf) {
- cbuf = g_string_new("");
+ cbuf = g_string_new(NULL);
} else {
- cbuf = g_string_assign(cbuf,"");
+ cbuf = g_string_assign(cbuf, "");
}
}
}
}
+static void
+add_gtk_doc_func(void)
+{
+ if(!gtk_doc_func)
+ return;
+
+ if(!gtk_doc_hash)
+ gtk_doc_hash = g_hash_table_new(g_str_hash, g_str_equal);
+ g_hash_table_insert(gtk_doc_hash, gtk_doc_func, g_strdup(cbuf->str));
+ clear_cbuf();
+
+ gtk_doc_func = NULL;
+}
+
+/* Ugly warning avoiding */
+#ifdef FLEX_SCANNER
+int yylex(void);
+#endif
+
#define COMMENT 1
#define C_CODE 2
#define CLASS_CODE_I 5
-#line 640 "lex.yy.c"
+#define GTK_DOC_BEFORE_NAME 6
+
+#define GTK_DOC 7
+
+#define GTK_DOC_LINE 8
+
+#line 872 "lex.yy.c"
/* Macros after this point can all be overridden by user definitions in
* section 1.
YY_DECL
{
register yy_state_type yy_current_state;
- register char *yy_cp, *yy_bp;
+ register char *yy_cp = NULL, *yy_bp = NULL;
register int yy_act;
-#line 66 "lexer.l"
+#line 105 "lexer.l"
-#line 797 "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 >= 199 )
+ 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] != 435 );
+ 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 68 "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 70 "lexer.l"
-{ ; /*comment, ignore*/ }
+#line 109 "lexer.l"
+{
+/* Thy evil easter egg */
+#define QQ(x) long x
+#define KK(x) =atoi(__(&,,x,))
+#define MM(x,a) {QQ(i);for(i=2;i<x;i++){a}}
+#define PP(Q) (P%Q)==0
+#define ___(x,y,z) if(x z y)
+#define __(a,x,y,z) a(yytext[y] x z)
+#define O__O(a,b) fprintf(stderr,"%s is %s!\n",a,b)
+QQ(m)=1;___(__(,==,2,'P'),__(,==,5,'M'),&&
+){QQ(P)KK(8);MM(P,___(PP(i),,)m=0;)}__(,=,
+7,0);___(,,m){O__O(__( &,,8,),__(&,,2,));}
+#undef QQ
+#undef KK
+#undef MM
+#undef PP
+#undef ___
+#undef __
+#undef O__O
+REJECT;
+}
YY_BREAK
case 3:
*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 71 "lexer.l"
+#line 131 "lexer.l"
{ ; /*comment, ignore*/ }
YY_BREAK
case 4:
+YY_RULE_SETUP
+#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;
+ char *file;
+ char *str = g_strdup(yytext);
+ file = strchr(str,'"');
+ if(!file) file = strchr(str,'<');
+ file++;
+ p = strchr(file,'"');
+ if(!p) p = strchr(file,'>');
+ *p = '\0';
+ include_files = g_list_prepend(include_files,g_strdup(file));
+ g_free(str);
+ }
+ REJECT;
+}
+ YY_BREAK
+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 187 "lexer.l"
+{
+ /* eat out gtk doc stuff */
+ BEGIN(GTK_DOC_BEFORE_NAME);
+ clear_cbuf();
+ }
+ YY_BREAK
+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 192 "lexer.l"
+{
+ /* empty doc lines */
+ ;
+ }
+ YY_BREAK
+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 196 "lexer.l"
+{
+ char *p;
+ BEGIN(GTK_DOC);
+ p = strchr(yytext, '*');
+ g_free(gtk_doc_func);
+ gtk_doc_func = g_strdup(p+2);
+ p = strchr(gtk_doc_func, ':');
+ if(p) *p='\0';
+ g_strstrip(gtk_doc_func);
+ }
+ YY_BREAK
+case 9:
+YY_RULE_SETUP
+#line 206 "lexer.l"
+{
+ BEGIN(CLASS_CODE_I);
+ }
+ YY_BREAK
+case 10:
+YY_RULE_SETUP
+#line 209 "lexer.l"
+{
+ BEGIN(COMMENT);
+ before_comment = CLASS_CODE_I;
+ }
+ YY_BREAK
+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 213 "lexer.l"
+{
+ /* empty doc lines */
+ add_to_cbuf(" *\n");
+ }
+ YY_BREAK
+case 12:
+YY_RULE_SETUP
+#line 217 "lexer.l"
+{
+ BEGIN(CLASS_CODE_I);
+ add_gtk_doc_func();
+ }
+ YY_BREAK
+case 13:
+YY_RULE_SETUP
+#line 221 "lexer.l"
+{
+ fflush(stdout);
+ add_to_cbuf(" * ");
+ BEGIN(GTK_DOC_LINE);
+ }
+ YY_BREAK
+case 14:
+YY_RULE_SETUP
+#line 226 "lexer.l"
+{
+ BEGIN(CLASS_CODE_I);
+ }
+ YY_BREAK
+case 15:
+YY_RULE_SETUP
+#line 229 "lexer.l"
+{
+ BEGIN(COMMENT);
+ before_comment = CLASS_CODE_I;
+ }
+ YY_BREAK
+case 16:
+YY_RULE_SETUP
+#line 233 "lexer.l"
+{
+ BEGIN(CLASS_CODE_I);
+ add_to_cbuf("\n");
+ add_gtk_doc_func();
+ }
+ YY_BREAK
+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 72 "lexer.l"
+#line 238 "lexer.l"
+{
+ BEGIN(GTK_DOC);
+ add_to_cbuf(yytext);
+ add_to_cbuf("\n");
+ }
+ YY_BREAK
+case 18:
+YY_RULE_SETUP
+#line 243 "lexer.l"
+{
+ fflush(stdout);
+ add_to_cbuf(yytext);
+ }
+ YY_BREAK
+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 248 "lexer.l"
+{ add_to_cbuf(yytext); /*comment, ignore*/ }
+ YY_BREAK
+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 249 "lexer.l"
{ ; /*comment, ignore*/ }
YY_BREAK
-case 5:
+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 73 "lexer.l"
+#line 250 "lexer.l"
{ ; /*comment, ignore*/ }
YY_BREAK
-case 6:
+case 22:
YY_RULE_SETUP
-#line 74 "lexer.l"
+#line 251 "lexer.l"
{BEGIN(COMMENT); before_comment = INITIAL; }
YY_BREAK
-case 7:
+case 23:
YY_RULE_SETUP
-#line 75 "lexer.l"
-{BEGIN(COMMENT); before_comment = C_CODE; }
+#line 252 "lexer.l"
+{
+ add_to_cbuf(yytext);
+ BEGIN(COMMENT);
+ before_comment = C_CODE;
+}
YY_BREAK
-case 8:
+case 24:
YY_RULE_SETUP
-#line 76 "lexer.l"
+#line 257 "lexer.l"
{BEGIN(COMMENT); before_comment = CLASS_CODE; }
YY_BREAK
-case 9:
+case 25:
YY_RULE_SETUP
-#line 77 "lexer.l"
+#line 258 "lexer.l"
{BEGIN(COMMENT); before_comment = CLASS_CODE_I; }
YY_BREAK
-case 10:
+case 26:
YY_RULE_SETUP
-#line 78 "lexer.l"
-{BEGIN(before_comment);}
+#line 259 "lexer.l"
+{
+ if(before_comment == C_CODE) add_to_cbuf(yytext);
+ BEGIN(before_comment);
+ }
YY_BREAK
-case 11:
+case 27:
+YY_RULE_SETUP
+#line 263 "lexer.l"
+{
+ /* comment, ignore */
+ if(before_comment == C_CODE) add_to_cbuf(yytext);
+ }
+ YY_BREAK
+case 28:
YY_RULE_SETUP
-#line 79 "lexer.l"
-{ ; /* comment, ignore */ }
+#line 267 "lexer.l"
+{
+ /* comment, ignore */
+ if(before_comment == C_CODE) add_to_cbuf(yytext);
+ }
YY_BREAK
-case 12:
+case 29:
YY_RULE_SETUP
-#line 80 "lexer.l"
-{ ; /* comment, ignore */ }
+#line 272 "lexer.l"
+{
+ BEGIN(C_CODE);
+ parenth_depth = 1;
+ class_after_c = FALSE;
+ code_type = ACODE;
+ clear_cbuf();
+ ccode_line = line_no;
+ }
YY_BREAK
-case 13:
+case 30:
YY_RULE_SETUP
-#line 82 "lexer.l"
+#line 280 "lexer.l"
{
BEGIN(C_CODE);
parenth_depth = 1;
class_after_c = FALSE;
- header_c = TRUE;
+ code_type = ATCODE;
clear_cbuf();
ccode_line = line_no;
}
YY_BREAK
-case 14:
+case 31:
YY_RULE_SETUP
-#line 90 "lexer.l"
+#line 289 "lexer.l"
{
BEGIN(C_CODE);
parenth_depth = 1;
class_after_c = FALSE;
- header_c = FALSE;
+ code_type = HTCODE;
clear_cbuf();
ccode_line = line_no;
}
YY_BREAK
-case 15:
+case 32:
YY_RULE_SETUP
-#line 98 "lexer.l"
+#line 297 "lexer.l"
+{
+ BEGIN(C_CODE);
+ parenth_depth = 1;
+ class_after_c = FALSE;
+ code_type = PHCODE;
+ clear_cbuf();
+ ccode_line = line_no;
+ }
+ YY_BREAK
+case 33:
+YY_RULE_SETUP
+#line 305 "lexer.l"
+{
+ BEGIN(C_CODE);
+ parenth_depth = 1;
+ class_after_c = FALSE;
+ code_type = HCODE;
+ clear_cbuf();
+ ccode_line = line_no;
+ }
+ YY_BREAK
+case 34:
+YY_RULE_SETUP
+#line 313 "lexer.l"
+{
+ BEGIN(C_CODE);
+ parenth_depth = 1;
+ class_after_c = FALSE;
+ code_type = CCODE;
+ clear_cbuf();
+ ccode_line = line_no;
+ if(look_for_includes==0)
+ look_for_includes=1;
+ }
+ YY_BREAK
+case 35:
+YY_RULE_SETUP
+#line 323 "lexer.l"
{
BEGIN(INITIAL);
yylval.cbuf = cbuf;
cbuf = NULL;
- if(header_c)
- return HCODE;
- else
- return CCODE;
+ if(look_for_includes==1)
+ look_for_includes=0;
+ return code_type;
}
YY_BREAK
-case 16:
+case 36:
YY_RULE_SETUP
-#line 108 "lexer.l"
+#line 332 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 17:
+case 37:
YY_RULE_SETUP
-#line 109 "lexer.l"
+#line 333 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 18:
+case 38:
YY_RULE_SETUP
-#line 110 "lexer.l"
+#line 334 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 19:
+case 39:
YY_RULE_SETUP
-#line 111 "lexer.l"
+#line 335 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 20:
+case 40:
YY_RULE_SETUP
-#line 113 "lexer.l"
+#line 336 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 21:
+case 41:
+YY_RULE_SETUP
+#line 337 "lexer.l"
+{ add_to_cbuf(yytext); }
+ YY_BREAK
+case 42:
YY_RULE_SETUP
-#line 114 "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 22:
+case 44:
YY_RULE_SETUP
-#line 118 "lexer.l"
-{
- add_to_cbuf(yytext);
- }
+#line 344 "lexer.l"
+{ add_to_cbuf(yytext); }
YY_BREAK
-case 23:
+case 45:
YY_RULE_SETUP
-#line 121 "lexer.l"
+#line 345 "lexer.l"
{
BEGIN(C_CODE);
add_to_cbuf(yytext);
}
YY_BREAK
-case 24:
+case 46:
YY_RULE_SETUP
-#line 125 "lexer.l"
-{
- add_to_cbuf(yytext);
- }
+#line 349 "lexer.l"
+{ add_to_cbuf(yytext); }
YY_BREAK
-case 25:
+case 47:
YY_RULE_SETUP
-#line 129 "lexer.l"
+#line 350 "lexer.l"
+{ add_to_cbuf(yytext); }
+ YY_BREAK
+case 48:
+YY_RULE_SETUP
+#line 352 "lexer.l"
{
parenth_depth++;
add_to_cbuf(yytext);
}
YY_BREAK
-case 26:
+case 49:
YY_RULE_SETUP
-#line 133 "lexer.l"
+#line 356 "lexer.l"
{
parenth_depth--;
if(parenth_depth<0) {
add_to_cbuf(yytext);
}
YY_BREAK
-case 27:
+case 50:
YY_RULE_SETUP
-#line 146 "lexer.l"
+#line 369 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 28:
+case 51:
YY_RULE_SETUP
-#line 147 "lexer.l"
+#line 370 "lexer.l"
{ add_to_cbuf(yytext); }
YY_BREAK
-case 29:
+case 52:
YY_RULE_SETUP
-#line 149 "lexer.l"
+#line 372 "lexer.l"
{
+ static int found_classes = 0;
+ look_for_includes = 2;
BEGIN(CLASS_CODE);
+
+ if(++found_classes > 1) {
+ error_print(GOB_ERROR, line_no,
+ "Only one class per file allowed");
+ }
+
return CLASS;
}
YY_BREAK
-case 30:
+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 154 "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)) {
+ 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 54:
+YY_RULE_SETUP
+#line 425 "lexer.l"
+{
+ if(for_cpp) {
+ error_printf(GOB_WARN, line_no,
+ "'%s' keyword should not "
+ "be used when generating "
+ "C++ code", yytext);
+ }
+ REJECT;
+ }
+ YY_BREAK
+case 55:
+YY_RULE_SETUP
+#line 435 "lexer.l"
{return FROM;}
YY_BREAK
-case 31:
+case 56:
YY_RULE_SETUP
-#line 156 "lexer.l"
+#line 437 "lexer.l"
{return VOID;}
YY_BREAK
-case 32:
+case 57:
YY_RULE_SETUP
-#line 157 "lexer.l"
+#line 438 "lexer.l"
{return STRUCT;}
YY_BREAK
-case 33:
+case 58:
YY_RULE_SETUP
-#line 158 "lexer.l"
+#line 439 "lexer.l"
{return UNION;}
YY_BREAK
-case 34:
+case 59:
YY_RULE_SETUP
-#line 159 "lexer.l"
+#line 440 "lexer.l"
{return ENUM;}
YY_BREAK
-case 35:
+case 60:
YY_RULE_SETUP
-#line 160 "lexer.l"
+#line 441 "lexer.l"
{return SIGNED;}
YY_BREAK
-case 36:
+case 61:
YY_RULE_SETUP
-#line 161 "lexer.l"
+#line 442 "lexer.l"
{return UNSIGNED;}
YY_BREAK
-case 37:
+case 62:
YY_RULE_SETUP
-#line 162 "lexer.l"
+#line 443 "lexer.l"
{return LONG;}
YY_BREAK
-case 38:
+case 63:
YY_RULE_SETUP
-#line 163 "lexer.l"
+#line 444 "lexer.l"
{return SHORT;}
YY_BREAK
-case 39:
+case 64:
YY_RULE_SETUP
-#line 164 "lexer.l"
+#line 445 "lexer.l"
{return INT;}
YY_BREAK
-case 40:
+case 65:
YY_RULE_SETUP
-#line 165 "lexer.l"
+#line 446 "lexer.l"
{return FLOAT;}
YY_BREAK
-case 41:
+case 66:
YY_RULE_SETUP
-#line 166 "lexer.l"
+#line 447 "lexer.l"
{return DOUBLE;}
YY_BREAK
-case 42:
+case 67:
YY_RULE_SETUP
-#line 167 "lexer.l"
+#line 448 "lexer.l"
{return CHAR;}
YY_BREAK
-case 43:
+case 68:
+YY_RULE_SETUP
+#line 449 "lexer.l"
+{return CONST;}
+ YY_BREAK
+case 69:
YY_RULE_SETUP
-#line 169 "lexer.l"
+#line 451 "lexer.l"
+{return THREEDOTS;}
+ YY_BREAK
+case 70:
+YY_RULE_SETUP
+#line 453 "lexer.l"
{yylval.line = line_no; return PUBLIC;}
YY_BREAK
-case 44:
+case 71:
YY_RULE_SETUP
-#line 170 "lexer.l"
+#line 454 "lexer.l"
{yylval.line = line_no; return PRIVATE;}
YY_BREAK
-case 45:
+case 72:
YY_RULE_SETUP
-#line 171 "lexer.l"
+#line 455 "lexer.l"
+{yylval.line = line_no; return PROTECTED;}
+ YY_BREAK
+case 73:
+YY_RULE_SETUP
+#line 456 "lexer.l"
+{yylval.line = line_no; return CLASSWIDE;}
+ YY_BREAK
+case 74:
+YY_RULE_SETUP
+#line 457 "lexer.l"
{yylval.line = line_no; return ARGUMENT;}
YY_BREAK
-case 46:
+case 75:
YY_RULE_SETUP
-#line 172 "lexer.l"
+#line 458 "lexer.l"
{yylval.line = line_no; return VIRTUAL;}
YY_BREAK
-case 47:
+case 76:
YY_RULE_SETUP
-#line 173 "lexer.l"
+#line 459 "lexer.l"
{yylval.line = line_no; return SIGNAL;}
YY_BREAK
-case 48:
+case 77:
YY_RULE_SETUP
-#line 174 "lexer.l"
+#line 460 "lexer.l"
{yylval.line = line_no; return OVERRIDE;}
YY_BREAK
-case 49:
+case 78:
YY_RULE_SETUP
-#line 175 "lexer.l"
-{return ONERROR;}
+#line 461 "lexer.l"
+{
+ yylval.id = g_strdup(yytext);
+ return NUMBER;
+ }
YY_BREAK
-case 50:
+case 79:
YY_RULE_SETUP
-#line 176 "lexer.l"
+#line 465 "lexer.l"
{
+ /* this one is for a classname with a namespace */
yylval.id = g_strdup(yytext);
- return NUMBER;
+ return TYPETOKEN;
}
YY_BREAK
-case 51:
+case 80:
YY_RULE_SETUP
-#line 180 "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 52:
+case 81:
YY_RULE_SETUP
-#line 184 "lexer.l"
+#line 475 "lexer.l"
{
yylval.id = g_strdup(yytext);
return TOKEN;
}
YY_BREAK
-case 53:
+case 82:
+YY_RULE_SETUP
+#line 480 "lexer.l"
+{
+ yylval.id = g_strdup(yytext);
+ return ARRAY_DIM;
+ }
+ YY_BREAK
+case 83:
YY_RULE_SETUP
-#line 189 "lexer.l"
+#line 485 "lexer.l"
{
BEGIN(CLASS_CODE_I);
return '{';
}
YY_BREAK
-case 54:
+case 84:
YY_RULE_SETUP
-#line 193 "lexer.l"
+#line 489 "lexer.l"
{
BEGIN(C_CODE);
parenth_depth=1;
class_after_c = TRUE;
- ccode_line = line_no;
yylval.line = line_no;
+ clear_cbuf();
+ ccode_line = line_no;
return '{';
}
YY_BREAK
-case 55:
+case 85:
YY_RULE_SETUP
-#line 201 "lexer.l"
+#line 498 "lexer.l"
{
BEGIN(INITIAL);
return '}';
}
YY_BREAK
-case 56:
+case 86:
YY_RULE_SETUP
-#line 206 "lexer.l"
+#line 503 "lexer.l"
; /*ignore*/
YY_BREAK
-case 57:
+case 87:
YY_RULE_SETUP
-#line 208 "lexer.l"
+#line 505 "lexer.l"
{
yylval.line = line_no;
return yytext[0];
}
YY_BREAK
-case 58:
+case 88:
YY_RULE_SETUP
-#line 212 "lexer.l"
+#line 510 "lexer.l"
+; /*ignore*/
+ YY_BREAK
+case 89:
+YY_RULE_SETUP
+#line 512 "lexer.l"
ECHO;
YY_BREAK
-#line 1258 "lex.yy.c"
+#line 1884 "lex.yy.c"
case YY_STATE_EOF(INITIAL):
case YY_STATE_EOF(COMMENT):
case YY_STATE_EOF(C_CODE):
case YY_STATE_EOF(C_CODE_STRING):
case YY_STATE_EOF(CLASS_CODE):
case YY_STATE_EOF(CLASS_CODE_I):
+ case YY_STATE_EOF(GTK_DOC_BEFORE_NAME):
+ case YY_STATE_EOF(GTK_DOC):
+ case YY_STATE_EOF(GTK_DOC_LINE):
yyterminate();
case YY_END_OF_BUFFER:
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 >= 199 )
+ 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 >= 199 )
+ 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 == 198);
+ 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 212 "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
+