]> git.draconx.ca Git - gob-dx.git/blobdiff - src/lexer.c
Release 1.0.12
[gob-dx.git] / src / lexer.c
index 0902fb5863f4699e9d7b13092f0de88963128842..79c45b55d95f883cf7f41bc556d8d9f2ddb34711 100644 (file)
@@ -9,6 +9,7 @@
 #define YY_FLEX_MINOR_VERSION 5
 
 #include <stdio.h>
+#include <unistd.h>
 
 
 /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
@@ -22,7 +23,6 @@
 #ifdef __cplusplus
 
 #include <stdlib.h>
-#include <unistd.h>
 
 /* Use prototypes in function declarations. */
 #define YY_USE_PROTOS
@@ -284,94 +284,119 @@ static void yy_fatal_error YY_PROTO(( yyconst char msg[] ));
        *yy_cp = '\0'; \
        yy_c_buf_p = yy_cp;
 
-#define YY_NUM_RULES 65
-#define YY_END_OF_BUFFER 66
-static yyconst short int yy_acclist[323] =
+#define YY_NUM_RULES 89
+#define YY_END_OF_BUFFER 90
+static yyconst short int yy_acclist[420] =
     {   0,
-       66,   63,   65,   62,   63,   65,    1,   64,   65,   63,
-       64,   65,   63,   65,   63,   65,   63,   65,   63,   65,
-       12,   63,   65,    1,   13,   64,   65,   12,   63,   64,
-       65,   12,   63,   65,   12,   63,   65,   31,   63,   65,
-        1,   32,   64,   65,   31,   63,   64,   65,   24,   31,
-       63,   65,   31,   63,   65,   31,   63,   65,   31,   63,
-       65,   31,   63,   65,   29,   31,   63,   65,   30,   31,
-       63,   65,   31,   63,   65,   27,   63,   65,    1,   28,
-       64,   65,   27,   63,   64,   65,   26,   27,   63,   65,
-       27,   63,   65,   27,   63,   65,   63,   65,   63,   65,
-
-       58,   63,   65,   58,   63,   65,   58,   63,   65,   59,
-       63,   65,   63,   65,   63,   65,   56,   63,   65,   56,
-       63,   65,   58,   63,   65,   58,   63,   65,   58,   63,
-       65,   58,   63,   65,   58,   63,   65,   58,   63,   65,
-       58,   63,   65,   58,   63,   65,   58,   63,   65,   58,
-       63,   65,   58,   63,   65,   58,   63,   65,   60,   63,
-       65,   61,   63,   65,    7,   15,   11,    8,   23,   16,
-       25,    9,   58,   57,   58,   58,   56,   10,   56,   56,
-       58,   58,   58,   58,   58,   58,   58,   58,   58,   58,
-       58,   58,   58,   58,   58,   58,   58,   58,    3,   14,
-
-       21,   17,   19,    4,    5,   57,   58,   58,   48,   56,
-        6,   56,   56,   58,   58,   58,   58,   58,   58,   43,
-       58,   58,   58,   58,   58,   58,   58,   58,   58,   58,
-       58,   58,   58,   22,   18,   20,   58,   34,   58,   58,
-       46,   58,   58,   58,   38,   58,   58,   41,   58,   58,
-       58,   58,   58,   58,   58,   58,   58,   58,   58,   35,
-       58,   33,   58,   58,   47,   58,   58,   44,   58,   58,
-       58,   58,   58,   42,   58,   58,   58,   58,   37,   58,
-       58,   58,   58,   58,   45,   58,   58,   58,   58,   49,
-       58,   53,   58,   39,   58,   36,   58,   58,   58,   58,
-
-       58,   55,   58,   58,   50,   58,   58,   52,   58,   58,
-       51,   58,   54,   58,   40,   58,   58,   58,   58,    2,
-        2,   58
+       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[241] =
+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,   13,   15,   17,
-       19,   21,   24,   28,   32,   35,   38,   41,   45,   49,
-       53,   56,   59,   62,   65,   69,   73,   76,   79,   83,
-       87,   91,   94,   97,   99,  101,  104,  107,  110,  113,
-      115,  117,  120,  123,  126,  129,  132,  135,  138,  141,
-      144,  147,  150,  153,  156,  159,  162,  165,  166,  166,
-      166,  166,  166,  167,  168,  168,  168,  168,  168,  169,
-      169,  170,  171,  172,  173,  173,  173,  174,  175,  176,
-      177,  177,  178,  179,  179,  179,  180,  180,  180,  181,
-
-      182,  183,  184,  185,  186,  187,  188,  189,  190,  191,
-      192,  193,  194,  195,  196,  197,  198,  199,  199,  200,
-      200,  200,  201,  202,  202,  202,  202,  203,  204,  204,
-      205,  205,  206,  206,  207,  208,  209,  210,  211,  211,
-      212,  213,  214,  215,  216,  217,  218,  219,  220,  222,
-      223,  224,  225,  226,  227,  228,  229,  230,  231,  232,
-      233,  234,  234,  234,  235,  236,  237,  238,  240,  241,
-      243,  244,  245,  247,  248,  250,  251,  252,  253,  254,
-      255,  256,  257,  258,  259,  260,  262,  262,  263,  264,
-      265,  267,  268,  270,  271,  272,  273,  274,  276,  277,
-
-      278,  279,  281,  282,  283,  283,  284,  285,  287,  288,
-      289,  290,  292,  294,  296,  298,  299,  300,  300,  301,
-      302,  304,  305,  307,  308,  310,  310,  311,  313,  315,
-      317,  317,  318,  318,  319,  319,  320,  321,  323,  323
+        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,    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,    2,    1,    5,    1,    1,    6,    1,    7,    1,
-        1,    8,    1,    1,    1,    9,   10,   11,   12,   12,
-       12,   12,   12,   12,   12,   13,   13,   14,    1,    1,
-        1,    1,    1,    1,   15,   15,   16,   15,   17,   18,
-       19,   20,   19,   19,   21,   19,   22,   19,   23,   19,
-       19,   24,   19,   25,   26,   19,   19,   19,   19,   19,
-        1,   27,    1,    1,   19,    1,   28,   29,   30,   31,
-
-       32,   33,   34,   35,   36,   19,   19,   37,   38,   39,
-       40,   41,   19,   42,   43,   44,   45,   46,   19,   47,
-       19,   19,   48,    1,   49,    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,
@@ -388,207 +413,336 @@ static yyconst int yy_ec[256] =
         1,    1,    1,    1,    1
     } ;
 
-static yyconst int yy_meta[50] =
+static yyconst int yy_meta[56] =
     {   0,
-        1,    1,    2,    1,    1,    1,    1,    1,    1,    1,
-        3,    3,    3,    4,    5,    5,    5,    5,    6,    6,
-        6,    6,    6,    6,    6,    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[256] =
+static yyconst short int yy_base[402] =
     {   0,
-        0,    3,   12,   15,   35,   82,   24,   44,  131,  180,
-      221,    0,  509,  510,  510,  510,  510,    4,  485,  470,
-        6,  510,  510,  510,  496,  482,  510,  510,  510,  510,
-       16,   16,  481,    0,  510,  510,  454,  510,  510,  510,
-      510,  479,    0,   42,    0,  487,   21,   17,  510,   61,
-       45,   66,   82,   18,   62,   42,   22,   44,   66,   76,
-       82,   84,  111,   85,   87,  510,  510,  510,  497,  474,
-      470,  449,  510,  510,  489,   58,  488,  487,  510,  490,
-      510,  510,  510,  510,  489,  477,  476,  475,   86,  108,
-      479,   56,  510,  484,  106,  148,  154,    0,  159,  135,
-
-      148,  136,  106,  159,  138,  181,  160,  182,  183,  184,
-      187,  163,  192,  194,  203,  195,  186,  483,  510,  465,
-      441,  510,  510,  476,  475,  474,  510,  510,  477,  510,
-      476,  510,  464,  463,   94,  197,  510,  229,  473,  510,
-      232,    0,  205,  196,  204,  198,  210,  245,  461,  241,
-      242,  246,  249,  254,  251,  257,  258,  260,  262,  263,
-      266,  457,  430,  510,  510,  510,   98,  458,  264,  457,
-      265,  267,  456,  268,  455,  269,  271,  273,  272,  275,
-      278,  191,  276,  280,  285,  454,  443,  510,  302,  291,
-      452,  303,  451,  304,  306,  307,  308,  450,  310,  314,
-
-      311,  449,  313,  315,  444,  318,  317,  446,  319,  323,
-      325,  402,  396,  363,  362,  326,  327,  349,  320,  334,
-      360,  335,  359,  339,  358,  355,  140,  355,  354,  352,
-      344,   89,  346,  345,  199,  336,  510,    3,  510,  378,
-      384,  390,  396,  402,  408,  414,  416,  420,  426,  432,
-      438,  442,  446,  452,  456
+        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[256] =
+static yyconst short int yy_def[402] =
     {   0,
-      240,  240,  241,  241,  242,  242,  243,  243,  244,  244,
-       10,   11,  239,  239,  239,  239,  239,  239,  239,  239,
-      239,  239,  239,  239,  239,  239,  239,  239,  239,  239,
-      239,  239,  239,  245,  239,  239,  239,  239,  239,  239,
-      239,  239,  246,  239,  247,  248,  248,  248,  239,  239,
-      239,  239,  239,  248,  248,  248,  248,  248,  248,  248,
-      248,  248,  248,  248,  248,  239,  239,  239,  249,  239,
-      239,  239,  239,  239,  239,  239,  239,  239,  239,  250,
-      239,  239,  239,  239,  251,  252,  248,  253,  248,  248,
-      239,  239,  239,  254,  239,  239,  239,  255,  239,  248,
-
-      248,  248,  248,  248,  248,  248,  248,  248,  248,  248,
-      248,  248,  248,  248,  248,  248,  248,  249,  239,  239,
-      239,  239,  239,  239,  239,  239,  239,  239,  250,  239,
-      251,  239,  252,  253,  248,  248,  239,  239,  254,  239,
-      239,  255,  248,  248,  248,  248,  248,  248,  248,  248,
-      248,  248,  248,  248,  248,  248,  248,  248,  248,  248,
-      248,  239,  239,  239,  239,  239,  248,  248,  248,  248,
-      248,  248,  248,  248,  248,  248,  248,  248,  248,  248,
-      248,  248,  248,  248,  248,  248,  239,  239,  248,  248,
-      248,  248,  248,  248,  248,  248,  248,  248,  248,  248,
-
-      248,  248,  248,  248,  239,  248,  248,  248,  248,  248,
-      248,  248,  248,  248,  248,  248,  248,  239,  248,  248,
-      248,  248,  248,  248,  248,  239,  248,  248,  248,  248,
-      239,  248,  239,  248,  239,  248,  239,  248,    0,  239,
-      239,  239,  239,  239,  239,  239,  239,  239,  239,  239,
-      239,  239,  239,  239,  239
+      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[560] =
+static yyconst short int yy_nxt[984] =
     {   0,
-      239,   15,   16,   17,   15,   16,   17,  239,   21,   18,
-      239,   68,   18,   69,   23,   24,   88,   23,   24,   25,
-       75,   19,   25,   79,   19,   80,   39,   40,   41,   20,
-       88,   88,   20,   26,   88,   88,   26,   28,   29,   30,
-       72,   31,   76,   89,   32,   42,   39,   40,   41,   84,
-       43,   85,   93,   73,   94,   88,   33,   88,   90,  100,
-      104,   34,  124,   77,   78,   42,  138,  138,  138,   91,
-       43,   92,   92,   92,   95,   88,   96,   96,   97,   88,
-      105,  103,   35,   36,   28,   29,   30,   37,   31,   88,
-       95,   32,   99,   99,   99,   88,  101,   88,   88,   88,
-
-       88,  102,   88,   33,  106,  125,  126,   88,   34,  234,
-      135,   88,   98,  167,  189,  107,  141,  141,  141,   88,
-      108,   88,  116,  115,   88,  110,  117,  109,  111,   35,
-       36,   14,   15,   16,   17,   14,   14,   14,   14,   14,
-       44,   14,   14,   14,   45,  112,  113,  136,   88,   88,
-      146,   88,   47,   88,  114,  232,   95,   14,   96,   96,
-       97,   88,   95,   48,   97,   97,   97,   95,  143,   99,
-       99,   99,   88,   88,  145,  144,   88,  148,   49,   14,
-       14,   15,   16,   17,   14,   14,   14,   14,   14,   44,
-       14,   14,   14,   45,   88,   88,   88,   88,  150,   88,
-
-       88,   47,  155,  147,   88,   88,   14,   88,   88,   88,
-       88,   88,   48,  151,  152,  154,   88,   88,   88,  153,
-      201,  161,  237,   88,  149,  156,  172,   49,   14,   50,
-       51,   52,   53,   53,  168,  157,  160,  170,  158,  138,
-      138,  138,  141,  141,  141,  159,  171,  173,   54,  169,
-       55,   56,   57,   58,   88,   88,   59,   60,   88,   88,
-       61,   62,   88,   63,   88,   64,   65,   88,   66,   67,
-       88,   88,  174,   88,  175,   88,   88,   88,   88,   88,
-       88,   88,   88,  176,   88,   88,   88,  177,   88,   88,
-      179,   88,  180,   88,  178,  181,  186,  184,   88,  183,
-
-      196,  190,  182,  192,   88,  199,  185,  197,  191,  200,
-      194,  193,  195,  203,  202,   88,   88,   88,  198,   88,
-       88,   88,  207,   88,   88,  206,   88,   88,   88,  204,
-       88,   88,   88,   88,  208,  219,   88,  212,   88,   88,
-       88,  210,  217,  209,  214,  227,  213,   88,   88,   88,
-      211,  216,   88,  222,  215,  220,  223,  224,   88,  238,
-      221,  236,  235,  225,  233,   88,  229,   88,   88,  230,
-      231,   88,   88,   88,  226,   88,   88,  228,   14,   14,
-       14,   14,   14,   14,   22,   22,   22,   22,   22,   22,
-       27,   27,   27,   27,   27,   27,   38,   38,   38,   38,
-
-       38,   38,   46,   46,   46,   46,   46,   46,   81,   88,
-       81,   81,   81,   81,   83,   88,   83,   83,   83,   83,
-       86,   86,   87,   87,   87,   87,  118,  118,  118,  118,
-      118,  118,  129,  129,  129,  129,  129,  129,  131,  131,
-      131,  131,  131,  131,  133,  133,  133,  133,  134,  134,
-      134,  134,  139,  139,  139,  139,  139,  139,  142,   88,
-      142,  218,   88,   88,   88,   88,  205,   88,   88,   88,
-       88,   88,  188,  187,   88,  140,   88,   88,  132,  130,
-      166,  165,  164,  163,  162,  119,  140,  137,   88,   88,
-       88,  132,  130,  128,  127,  123,  122,  121,  120,  119,
-
-       88,   70,   82,   70,   70,   74,   71,   70,  239,   13,
-      239,  239,  239,  239,  239,  239,  239,  239,  239,  239,
-      239,  239,  239,  239,  239,  239,  239,  239,  239,  239,
-      239,  239,  239,  239,  239,  239,  239,  239,  239,  239,
-      239,  239,  239,  239,  239,  239,  239,  239,  239,  239,
-      239,  239,  239,  239,  239,  239,  239,  239,  239
+      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[560] =
+static yyconst short int yy_chk[984] =
     {   0,
-        0,    1,    1,    1,    2,    2,    2,    0,    2,    1,
-        0,   18,    2,   18,    3,    3,  238,    4,    4,    3,
-       31,    1,    4,   32,    2,   32,    7,    7,    7,    1,
-       48,   54,    2,    3,   47,   57,    4,    5,    5,    5,
-       21,    5,   31,   47,    5,    7,    8,    8,    8,   44,
-        7,   44,   51,   21,   51,   56,    5,   58,   48,   54,
-       57,    5,   76,   31,   31,    8,   92,   92,   92,   50,
-        8,   50,   50,   50,   52,   55,   52,   52,   52,   59,
-       58,   56,    5,    5,    6,    6,    6,    6,    6,   60,
-       53,    6,   53,   53,   53,   61,   55,   62,   64,   89,
-
-       65,   55,  232,    6,   59,   76,   76,  135,    6,  232,
-       89,  167,   52,  135,  167,   60,   95,   95,   95,  103,
-       61,   90,   65,   64,   63,   62,   65,   61,   62,    6,
-        6,    9,    9,    9,    9,    9,    9,    9,    9,    9,
-        9,    9,    9,    9,    9,   63,   63,   90,  100,  102,
-      103,  105,    9,  227,   63,  227,   96,    9,   96,   96,
-       96,  101,   97,    9,   97,   97,   97,   99,  100,   99,
-       99,   99,  104,  107,  102,  101,  112,  105,    9,    9,
-       10,   10,   10,   10,   10,   10,   10,   10,   10,   10,
-       10,   10,   10,   10,  106,  108,  109,  110,  107,  117,
-
-      111,   10,  112,  104,  182,  113,   10,  114,  116,  144,
-      136,  146,   10,  108,  109,  111,  115,  145,  143,  110,
-      182,  117,  235,  147,  106,  113,  146,   10,   10,   11,
-       11,   11,   11,   11,  136,  114,  116,  144,  115,  138,
-      138,  138,  141,  141,  141,  115,  145,  147,   11,  143,
-       11,   11,   11,   11,  150,  151,   11,   11,  148,  152,
-       11,   11,  153,   11,  155,   11,   11,  154,   11,   11,
-      156,  157,  148,  158,  150,  159,  160,  169,  171,  161,
-      172,  174,  176,  151,  177,  179,  178,  152,  180,  183,
-      154,  181,  155,  184,  153,  156,  161,  159,  185,  158,
-
-      178,  169,  157,  172,  190,  181,  160,  179,  171,  181,
-      176,  174,  177,  184,  183,  189,  192,  194,  180,  195,
-      196,  197,  190,  199,  201,  189,  203,  200,  204,  185,
-      207,  206,  209,  219,  192,  206,  210,  197,  211,  216,
-      217,  195,  204,  194,  200,  219,  199,  220,  222,  236,
-      196,  203,  224,  210,  201,  207,  211,  216,  234,  236,
-      209,  234,  233,  217,  231,  230,  222,  229,  228,  224,
-      226,  225,  223,  221,  218,  215,  214,  220,  240,  240,
-      240,  240,  240,  240,  241,  241,  241,  241,  241,  241,
-      242,  242,  242,  242,  242,  242,  243,  243,  243,  243,
-
-      243,  243,  244,  244,  244,  244,  244,  244,  245,  213,
-      245,  245,  245,  245,  246,  212,  246,  246,  246,  246,
-      247,  247,  248,  248,  248,  248,  249,  249,  249,  249,
-      249,  249,  250,  250,  250,  250,  250,  250,  251,  251,
-      251,  251,  251,  251,  252,  252,  252,  252,  253,  253,
-      253,  253,  254,  254,  254,  254,  254,  254,  255,  208,
-      255,  205,  202,  198,  193,  191,  187,  186,  175,  173,
-      170,  168,  163,  162,  149,  139,  134,  133,  131,  129,
-      126,  125,  124,  121,  120,  118,   94,   91,   88,   87,
-       86,   85,   80,   78,   77,   75,   72,   71,   70,   69,
-
-       46,   42,   37,   33,   26,   25,   20,   19,   13,  239,
-      239,  239,  239,  239,  239,  239,  239,  239,  239,  239,
-      239,  239,  239,  239,  239,  239,  239,  239,  239,  239,
-      239,  239,  239,  239,  239,  239,  239,  239,  239,  239,
-      239,  239,  239,  239,  239,  239,  239,  239,  239,  239,
-      239,  239,  239,  239,  239,  239,  239,  239,  239
+        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,    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;
@@ -631,26 +785,41 @@ char *yytext;
 
 #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, "");
        }
 }
 
@@ -664,6 +833,25 @@ add_to_cbuf(char *s)
        }
 }
 
+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
@@ -674,7 +862,13 @@ add_to_cbuf(char *s)
 
 #define CLASS_CODE_I 5
 
-#line 678 "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.
@@ -828,10 +1022,10 @@ YY_DECL
        register char *yy_cp = NULL, *yy_bp = NULL;
        register int yy_act;
 
-#line 66 "lexer.l"
+#line 105 "lexer.l"
 
 
-#line 835 "lex.yy.c"
+#line 1029 "lex.yy.c"
 
        if ( yy_init )
                {
@@ -880,14 +1074,14 @@ yy_match:
                        while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
                                {
                                yy_current_state = (int) yy_def[yy_current_state];
-                               if ( yy_current_state >= 240 )
+                               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] != 510 );
+               while ( yy_base[yy_current_state] != 928 );
 
 yy_find_action:
                yy_current_state = *--yy_state_ptr;
@@ -918,208 +1112,467 @@ do_action:     /* This label is used only to access EOF actions. */
        { /* 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_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 70 "lexer.l"
-{ fprintf(stderr,"You are a bad bad person!\n"); REJECT; }
+#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 72 "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 73 "lexer.l"
+#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 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 5:
+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 74 "lexer.l"
+#line 249 "lexer.l"
 { ; /*comment, ignore*/ }
        YY_BREAK
-case 6:
+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 75 "lexer.l"
+#line 250 "lexer.l"
 { ; /*comment, ignore*/ }
        YY_BREAK
-case 7:
+case 22:
 YY_RULE_SETUP
-#line 76 "lexer.l"
+#line 251 "lexer.l"
 {BEGIN(COMMENT); before_comment = INITIAL; }
        YY_BREAK
-case 8:
+case 23:
 YY_RULE_SETUP
-#line 77 "lexer.l"
+#line 252 "lexer.l"
 {
        add_to_cbuf(yytext);
        BEGIN(COMMENT);
        before_comment = C_CODE;
 }
        YY_BREAK
-case 9:
+case 24:
 YY_RULE_SETUP
-#line 82 "lexer.l"
+#line 257 "lexer.l"
 {BEGIN(COMMENT); before_comment = CLASS_CODE; }
        YY_BREAK
-case 10:
+case 25:
 YY_RULE_SETUP
-#line 83 "lexer.l"
+#line 258 "lexer.l"
 {BEGIN(COMMENT); before_comment = CLASS_CODE_I; }
        YY_BREAK
-case 11:
+case 26:
 YY_RULE_SETUP
-#line 84 "lexer.l"
+#line 259 "lexer.l"
 {
        if(before_comment == C_CODE) add_to_cbuf(yytext);
        BEGIN(before_comment);
                }
        YY_BREAK
-case 12:
+case 27:
 YY_RULE_SETUP
-#line 88 "lexer.l"
+#line 263 "lexer.l"
 {
        /* comment, ignore */
        if(before_comment == C_CODE) add_to_cbuf(yytext);
                }
        YY_BREAK
-case 13:
+case 28:
 YY_RULE_SETUP
-#line 92 "lexer.l"
+#line 267 "lexer.l"
 {
        /* comment, ignore */
        if(before_comment == C_CODE) add_to_cbuf(yytext);
                }
        YY_BREAK
-case 14:
+case 29:
 YY_RULE_SETUP
-#line 97 "lexer.l"
+#line 272 "lexer.l"
 {
                        BEGIN(C_CODE);
                        parenth_depth = 1;
                        class_after_c = FALSE;
-                       header_c = TRUE;
+                       code_type = ACODE;
                        clear_cbuf();
                        ccode_line = line_no;
                }
        YY_BREAK
-case 15:
+case 30:
 YY_RULE_SETUP
-#line 105 "lexer.l"
+#line 280 "lexer.l"
 {
                        BEGIN(C_CODE);
                        parenth_depth = 1;
                        class_after_c = FALSE;
-                       header_c = FALSE;
+                       code_type = ATCODE;
                        clear_cbuf();
                        ccode_line = line_no;
                }
        YY_BREAK
-case 16:
+case 31:
+YY_RULE_SETUP
+#line 289 "lexer.l"
+{
+                       BEGIN(C_CODE);
+                       parenth_depth = 1;
+                       class_after_c = FALSE;
+                       code_type = HTCODE;
+                       clear_cbuf();
+                       ccode_line = line_no;
+               }
+       YY_BREAK
+case 32:
 YY_RULE_SETUP
-#line 113 "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 17:
+case 36:
 YY_RULE_SETUP
-#line 123 "lexer.l"
+#line 332 "lexer.l"
 { add_to_cbuf(yytext); }
        YY_BREAK
-case 18:
+case 37:
 YY_RULE_SETUP
-#line 124 "lexer.l"
+#line 333 "lexer.l"
 { add_to_cbuf(yytext); }
        YY_BREAK
-case 19:
+case 38:
 YY_RULE_SETUP
-#line 125 "lexer.l"
+#line 334 "lexer.l"
 { add_to_cbuf(yytext); }
        YY_BREAK
-case 20:
+case 39:
 YY_RULE_SETUP
-#line 126 "lexer.l"
+#line 335 "lexer.l"
 { add_to_cbuf(yytext); }
        YY_BREAK
-case 21:
+case 40:
 YY_RULE_SETUP
-#line 127 "lexer.l"
+#line 336 "lexer.l"
 { add_to_cbuf(yytext); }
        YY_BREAK
-case 22:
+case 41:
 YY_RULE_SETUP
-#line 128 "lexer.l"
+#line 337 "lexer.l"
 { add_to_cbuf(yytext); }
        YY_BREAK
-case 23:
+case 42:
 YY_RULE_SETUP
-#line 130 "lexer.l"
+#line 339 "lexer.l"
 { add_to_cbuf(yytext); }
        YY_BREAK
-case 24:
+case 43:
 YY_RULE_SETUP
-#line 131 "lexer.l"
+#line 340 "lexer.l"
 {
                        BEGIN(C_CODE_STRING);
                        add_to_cbuf(yytext);
                }
        YY_BREAK
-case 25:
+case 44:
 YY_RULE_SETUP
-#line 135 "lexer.l"
+#line 344 "lexer.l"
 { add_to_cbuf(yytext); }
        YY_BREAK
-case 26:
+case 45:
 YY_RULE_SETUP
-#line 136 "lexer.l"
+#line 345 "lexer.l"
 {
                                BEGIN(C_CODE);
                                add_to_cbuf(yytext);
                        }
        YY_BREAK
-case 27:
+case 46:
 YY_RULE_SETUP
-#line 140 "lexer.l"
+#line 349 "lexer.l"
 { add_to_cbuf(yytext); }
        YY_BREAK
-case 28:
+case 47:
 YY_RULE_SETUP
-#line 141 "lexer.l"
+#line 350 "lexer.l"
 { add_to_cbuf(yytext); }
        YY_BREAK
-case 29:
+case 48:
 YY_RULE_SETUP
-#line 143 "lexer.l"
+#line 352 "lexer.l"
 {
                        parenth_depth++;
                        add_to_cbuf(yytext);
                }
        YY_BREAK
-case 30:
+case 49:
 YY_RULE_SETUP
-#line 147 "lexer.l"
+#line 356 "lexer.l"
 {
                        parenth_depth--;
                        if(parenth_depth<0) {
@@ -1133,216 +1586,310 @@ YY_RULE_SETUP
                        add_to_cbuf(yytext);
                }
        YY_BREAK
-case 31:
+case 50:
 YY_RULE_SETUP
-#line 160 "lexer.l"
+#line 369 "lexer.l"
 { add_to_cbuf(yytext); }
        YY_BREAK
-case 32:
+case 51:
 YY_RULE_SETUP
-#line 161 "lexer.l"
+#line 370 "lexer.l"
 { add_to_cbuf(yytext); }
        YY_BREAK
-case 33:
+case 52:
 YY_RULE_SETUP
-#line 163 "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 34:
+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 168 "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 35:
+case 56:
 YY_RULE_SETUP
-#line 170 "lexer.l"
+#line 437 "lexer.l"
 {return VOID;}
        YY_BREAK
-case 36:
+case 57:
 YY_RULE_SETUP
-#line 171 "lexer.l"
+#line 438 "lexer.l"
 {return STRUCT;}
        YY_BREAK
-case 37:
+case 58:
 YY_RULE_SETUP
-#line 172 "lexer.l"
+#line 439 "lexer.l"
 {return UNION;}
        YY_BREAK
-case 38:
+case 59:
 YY_RULE_SETUP
-#line 173 "lexer.l"
+#line 440 "lexer.l"
 {return ENUM;}
        YY_BREAK
-case 39:
+case 60:
 YY_RULE_SETUP
-#line 174 "lexer.l"
+#line 441 "lexer.l"
 {return SIGNED;}
        YY_BREAK
-case 40:
+case 61:
 YY_RULE_SETUP
-#line 175 "lexer.l"
+#line 442 "lexer.l"
 {return UNSIGNED;}
        YY_BREAK
-case 41:
+case 62:
 YY_RULE_SETUP
-#line 176 "lexer.l"
+#line 443 "lexer.l"
 {return LONG;}
        YY_BREAK
-case 42:
+case 63:
 YY_RULE_SETUP
-#line 177 "lexer.l"
+#line 444 "lexer.l"
 {return SHORT;}
        YY_BREAK
-case 43:
+case 64:
 YY_RULE_SETUP
-#line 178 "lexer.l"
+#line 445 "lexer.l"
 {return INT;}
        YY_BREAK
-case 44:
+case 65:
 YY_RULE_SETUP
-#line 179 "lexer.l"
+#line 446 "lexer.l"
 {return FLOAT;}
        YY_BREAK
-case 45:
+case 66:
 YY_RULE_SETUP
-#line 180 "lexer.l"
+#line 447 "lexer.l"
 {return DOUBLE;}
        YY_BREAK
-case 46:
+case 67:
 YY_RULE_SETUP
-#line 181 "lexer.l"
+#line 448 "lexer.l"
 {return CHAR;}
        YY_BREAK
-case 47:
+case 68:
 YY_RULE_SETUP
-#line 182 "lexer.l"
+#line 449 "lexer.l"
 {return CONST;}
        YY_BREAK
-case 48:
+case 69:
 YY_RULE_SETUP
-#line 184 "lexer.l"
+#line 451 "lexer.l"
 {return THREEDOTS;}
        YY_BREAK
-case 49:
+case 70:
 YY_RULE_SETUP
-#line 186 "lexer.l"
+#line 453 "lexer.l"
 {yylval.line = line_no; return PUBLIC;}
        YY_BREAK
-case 50:
+case 71:
 YY_RULE_SETUP
-#line 187 "lexer.l"
+#line 454 "lexer.l"
 {yylval.line = line_no; return PRIVATE;}
        YY_BREAK
-case 51:
+case 72:
+YY_RULE_SETUP
+#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 188 "lexer.l"
+#line 457 "lexer.l"
 {yylval.line = line_no; return ARGUMENT;}
        YY_BREAK
-case 52:
+case 75:
 YY_RULE_SETUP
-#line 189 "lexer.l"
+#line 458 "lexer.l"
 {yylval.line = line_no; return VIRTUAL;}
        YY_BREAK
-case 53:
+case 76:
 YY_RULE_SETUP
-#line 190 "lexer.l"
+#line 459 "lexer.l"
 {yylval.line = line_no; return SIGNAL;}
        YY_BREAK
-case 54:
+case 77:
 YY_RULE_SETUP
-#line 191 "lexer.l"
+#line 460 "lexer.l"
 {yylval.line = line_no; return OVERRIDE;}
        YY_BREAK
-case 55:
+case 78:
 YY_RULE_SETUP
-#line 192 "lexer.l"
-{return ONERROR;}
+#line 461 "lexer.l"
+{
+                       yylval.id = g_strdup(yytext);
+                       return NUMBER;
+               }
        YY_BREAK
-case 56:
+case 79:
 YY_RULE_SETUP
-#line 193 "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 57:
+case 80:
 YY_RULE_SETUP
-#line 197 "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 58:
+case 81:
 YY_RULE_SETUP
-#line 201 "lexer.l"
+#line 475 "lexer.l"
 {
                        yylval.id = g_strdup(yytext);
                        return TOKEN;
                }
        YY_BREAK
-case 59:
+case 82:
 YY_RULE_SETUP
-#line 206 "lexer.l"
+#line 480 "lexer.l"
+{
+                       yylval.id = g_strdup(yytext);
+                       return ARRAY_DIM;
+               }
+       YY_BREAK
+case 83:
+YY_RULE_SETUP
+#line 485 "lexer.l"
 {
                        BEGIN(CLASS_CODE_I);
                        return '{';
                }
        YY_BREAK
-case 60:
+case 84:
 YY_RULE_SETUP
-#line 210 "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 61:
+case 85:
 YY_RULE_SETUP
-#line 218 "lexer.l"
+#line 498 "lexer.l"
 {
                                BEGIN(INITIAL);
                                return '}';
                        }
        YY_BREAK
-case 62:
+case 86:
 YY_RULE_SETUP
-#line 223 "lexer.l"
+#line 503 "lexer.l"
 ;  /*ignore*/
        YY_BREAK
-case 63:
+case 87:
 YY_RULE_SETUP
-#line 225 "lexer.l"
+#line 505 "lexer.l"
 {
                        yylval.line = line_no;
                        return yytext[0];
                }
        YY_BREAK
-case 64:
+case 88:
 YY_RULE_SETUP
-#line 230 "lexer.l"
+#line 510 "lexer.l"
 ;  /*ignore*/
        YY_BREAK
-case 65:
+case 89:
 YY_RULE_SETUP
-#line 231 "lexer.l"
+#line 512 "lexer.l"
 ECHO;
        YY_BREAK
-#line 1340 "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:
@@ -1631,7 +2178,7 @@ static yy_state_type yy_get_previous_state()
                while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
                        {
                        yy_current_state = (int) yy_def[yy_current_state];
-                       if ( yy_current_state >= 240 )
+                       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];
@@ -1661,11 +2208,11 @@ yy_state_type yy_current_state;
        while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
                {
                yy_current_state = (int) yy_def[yy_current_state];
-               if ( yy_current_state >= 240 )
+               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 == 239);
+       yy_is_jam = (yy_current_state == 374);
        if ( ! yy_is_jam )
                *yy_state_ptr++ = yy_current_state;
 
@@ -1901,11 +2448,6 @@ YY_BUFFER_STATE b;
        }
 
 
-#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 )
@@ -2223,4 +2765,16 @@ int main()
        return 0;
        }
 #endif
-#line 231 "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
+