diff options
| author | Michael Biebl <biebl@debian.org> | 2014-03-13 17:57:11 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2014-03-13 17:57:11 +0100 |
| commit | 29867b5cc18d25191fbbdcc4af4f79cc3a4da43e (patch) | |
| tree | 1ffedd33b2a2e167aeb4b01a6c5c72aeb98a1b90 /grammar | |
| parent | 5fccf771f37973a2cea543fbdf1ed94ed9706faf (diff) | |
| download | rsyslog-29867b5cc18d25191fbbdcc4af4f79cc3a4da43e.tar.gz | |
Imported Upstream version 7.6.1upstream/7.6.1
Diffstat (limited to 'grammar')
| -rw-r--r-- | grammar/Makefile.in | 23 | ||||
| -rw-r--r-- | grammar/lexer.c | 1951 | ||||
| -rw-r--r-- | grammar/lexer.l | 8 | ||||
| -rw-r--r-- | grammar/parserif.h | 2 | ||||
| -rw-r--r-- | grammar/rainerscript.c | 418 | ||||
| -rw-r--r-- | grammar/rainerscript.h | 18 |
6 files changed, 1419 insertions, 1001 deletions
diff --git a/grammar/Makefile.in b/grammar/Makefile.in index 73648f1..48cc66d 100644 --- a/grammar/Makefile.in +++ b/grammar/Makefile.in @@ -166,6 +166,8 @@ LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@ LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@ LIBLOGGING_CFLAGS = @LIBLOGGING_CFLAGS@ LIBLOGGING_LIBS = @LIBLOGGING_LIBS@ +LIBLOGGING_STDLOG_CFLAGS = @LIBLOGGING_STDLOG_CFLAGS@ +LIBLOGGING_STDLOG_LIBS = @LIBLOGGING_STDLOG_LIBS@ LIBLOGNORM_CFLAGS = @LIBLOGNORM_CFLAGS@ LIBLOGNORM_LIBS = @LIBLOGNORM_LIBS@ LIBM = @LIBM@ @@ -190,6 +192,8 @@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ +OPENSSL_CFLAGS = @OPENSSL_CFLAGS@ +OPENSSL_LIBS = @OPENSSL_LIBS@ ORACLE_CFLAGS = @ORACLE_CFLAGS@ ORACLE_LIBS = @ORACLE_LIBS@ OTOOL = @OTOOL@ @@ -363,22 +367,25 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgrammar_la-rainerscript.Plo@am__quote@ .c.o: -@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c $< +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: -@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ +@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< diff --git a/grammar/lexer.c b/grammar/lexer.c index 9b7cf47..482fbe0 100644 --- a/grammar/lexer.c +++ b/grammar/lexer.c @@ -384,8 +384,8 @@ static void yy_fatal_error (yyconst char msg[] ); *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp; -#define YY_NUM_RULES 97 -#define YY_END_OF_BUFFER 98 +#define YY_NUM_RULES 99 +#define YY_END_OF_BUFFER 100 /* This struct is not used in this scanner, but its presence is necessary. */ struct yy_trans_info @@ -393,57 +393,60 @@ struct yy_trans_info flex_int32_t yy_verify; flex_int32_t yy_nxt; }; -static yyconst flex_int16_t yy_accept[443] = +static yyconst flex_int16_t yy_accept[477] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 98, 96, 95, 95, 96, 96, - 96, 42, 68, 96, 96, 96, 96, 73, 96, 73, - 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, - 43, 44, 67, 95, 68, 96, 96, 96, 73, 73, - 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, - 88, 87, 87, 88, 88, 74, 76, 88, 79, 75, - 77, 78, 85, 85, 85, 55, 55, 54, 53, 52, - 40, 39, 39, 40, 38, 36, 36, 38, 38, 38, - 11, 13, 38, 17, 18, 9, 12, 8, 14, 10, - - 32, 32, 3, 24, 7, 25, 37, 37, 37, 37, - 37, 37, 37, 15, 16, 0, 0, 94, 0, 0, - 72, 72, 72, 70, 81, 73, 0, 73, 73, 73, - 73, 73, 1, 73, 73, 73, 73, 73, 73, 73, - 73, 0, 0, 0, 0, 0, 0, 0, 0, 72, - 0, 0, 0, 73, 73, 73, 73, 73, 73, 73, - 73, 1, 73, 73, 73, 73, 73, 73, 73, 73, - 0, 80, 0, 0, 86, 82, 75, 85, 85, 84, - 56, 52, 41, 22, 0, 35, 0, 0, 33, 0, - 34, 0, 83, 30, 0, 32, 20, 23, 19, 21, - - 37, 37, 37, 37, 4, 37, 37, 0, 90, 0, - 89, 0, 0, 92, 0, 72, 72, 69, 69, 70, - 71, 73, 73, 73, 73, 73, 73, 73, 73, 73, - 73, 48, 73, 73, 73, 66, 0, 93, 72, 0, - 0, 66, 73, 73, 73, 73, 73, 73, 73, 73, - 73, 73, 48, 73, 73, 73, 0, 0, 0, 33, - 0, 0, 31, 5, 37, 6, 37, 37, 0, 91, - 72, 69, 69, 71, 73, 47, 73, 73, 46, 73, - 73, 73, 73, 73, 73, 45, 73, 73, 0, 0, - 0, 73, 47, 73, 73, 46, 73, 73, 73, 73, - - 73, 73, 45, 73, 73, 0, 0, 0, 0, 0, - 37, 37, 2, 73, 73, 73, 73, 73, 73, 73, - 73, 73, 73, 49, 0, 0, 73, 73, 73, 73, - 73, 73, 73, 73, 73, 73, 49, 0, 37, 37, - 73, 73, 73, 73, 0, 62, 73, 73, 73, 73, - 73, 0, 0, 73, 73, 73, 73, 73, 73, 73, - 73, 73, 37, 37, 0, 64, 73, 73, 0, 57, - 0, 63, 73, 73, 73, 73, 0, 65, 0, 73, - 73, 73, 73, 73, 73, 37, 37, 73, 50, 73, - 73, 0, 59, 73, 65, 73, 50, 73, 73, 73, - - 26, 37, 0, 61, 73, 0, 60, 0, 58, 73, - 37, 37, 73, 73, 27, 28, 73, 73, 37, 73, - 73, 29, 73, 73, 73, 73, 73, 73, 73, 73, - 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, - 51, 0 + 0, 0, 0, 0, 100, 98, 97, 97, 98, 98, + 98, 42, 70, 98, 98, 98, 98, 75, 98, 75, + 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, + 75, 43, 44, 69, 97, 70, 98, 98, 98, 75, + 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, + 75, 75, 90, 89, 89, 90, 90, 76, 78, 90, + 81, 77, 79, 80, 87, 87, 87, 55, 55, 54, + 53, 52, 40, 39, 39, 40, 38, 36, 36, 38, + 38, 38, 11, 13, 38, 17, 18, 9, 12, 8, + + 14, 10, 32, 32, 3, 24, 7, 25, 37, 37, + 37, 37, 37, 37, 37, 15, 16, 0, 0, 96, + 0, 0, 74, 74, 74, 72, 83, 75, 0, 75, + 75, 75, 75, 75, 1, 75, 75, 75, 75, 75, + 75, 75, 75, 75, 75, 0, 0, 0, 0, 0, + 0, 0, 0, 74, 0, 0, 0, 75, 75, 75, + 75, 75, 75, 75, 75, 1, 75, 75, 75, 75, + 75, 75, 75, 75, 75, 75, 0, 82, 0, 0, + 88, 84, 77, 87, 87, 86, 56, 52, 41, 22, + 0, 35, 0, 0, 33, 0, 34, 0, 85, 30, + + 0, 32, 20, 23, 19, 21, 37, 37, 37, 37, + 4, 37, 37, 0, 92, 0, 91, 0, 0, 94, + 0, 74, 74, 71, 71, 72, 73, 75, 75, 75, + 75, 75, 75, 75, 75, 75, 75, 75, 75, 48, + 75, 75, 75, 68, 0, 95, 74, 0, 0, 68, + 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, + 75, 75, 48, 75, 75, 75, 0, 0, 0, 33, + 0, 0, 31, 5, 37, 6, 37, 37, 0, 93, + 74, 71, 71, 73, 75, 47, 75, 75, 46, 75, + 75, 75, 75, 75, 75, 75, 75, 45, 75, 75, + + 0, 0, 0, 75, 47, 75, 75, 46, 75, 75, + 75, 75, 75, 75, 75, 75, 45, 75, 75, 0, + 0, 0, 0, 0, 37, 37, 2, 75, 75, 75, + 75, 75, 75, 75, 75, 75, 75, 75, 75, 49, + 0, 0, 75, 75, 75, 75, 75, 75, 75, 75, + 75, 75, 75, 49, 0, 37, 37, 75, 75, 75, + 75, 0, 63, 75, 75, 75, 75, 75, 75, 75, + 0, 0, 75, 75, 75, 75, 75, 75, 75, 75, + 75, 75, 37, 37, 0, 66, 75, 75, 0, 58, + 75, 75, 0, 64, 75, 75, 75, 75, 0, 67, + + 0, 75, 75, 75, 75, 75, 75, 37, 37, 75, + 50, 75, 75, 75, 75, 0, 60, 75, 67, 75, + 50, 75, 75, 75, 26, 37, 0, 62, 75, 75, + 75, 0, 61, 0, 59, 75, 37, 37, 75, 75, + 75, 75, 27, 28, 75, 0, 57, 75, 75, 37, + 75, 75, 75, 29, 0, 65, 75, 75, 75, 75, + 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, + 75, 75, 75, 75, 51, 0 } ; static yyconst flex_int32_t yy_ec[256] = @@ -455,13 +458,13 @@ static yyconst flex_int32_t yy_ec[256] = 13, 14, 15, 16, 17, 18, 19, 20, 21, 21, 21, 21, 21, 21, 21, 22, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, - 36, 37, 38, 39, 39, 40, 41, 42, 43, 44, - 39, 45, 46, 47, 48, 49, 50, 51, 52, 39, - 53, 54, 55, 29, 56, 1, 57, 58, 59, 60, + 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, + 46, 47, 48, 49, 50, 51, 52, 53, 54, 39, + 55, 56, 57, 29, 58, 1, 59, 60, 61, 62, - 61, 62, 63, 64, 65, 39, 39, 66, 67, 68, - 69, 70, 39, 71, 72, 73, 74, 49, 75, 76, - 77, 39, 78, 29, 79, 80, 1, 1, 1, 1, + 63, 64, 65, 66, 67, 39, 68, 69, 70, 71, + 72, 73, 74, 75, 76, 77, 78, 51, 79, 80, + 81, 39, 82, 29, 83, 84, 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, @@ -478,504 +481,539 @@ static yyconst flex_int32_t yy_ec[256] = 1, 1, 1, 1, 1 } ; -static yyconst flex_int32_t yy_meta[81] = +static yyconst flex_int32_t yy_meta[85] = { 0, 1, 2, 3, 4, 5, 6, 1, 7, 1, 1, - 6, 1, 1, 8, 9, 10, 11, 12, 1, 13, - 13, 14, 15, 16, 1, 17, 1, 18, 1, 19, - 20, 21, 21, 21, 19, 22, 22, 22, 22, 22, - 22, 23, 22, 22, 23, 22, 23, 22, 24, 22, - 25, 22, 1, 6, 1, 26, 19, 20, 21, 21, - 21, 19, 22, 22, 22, 22, 22, 23, 22, 22, - 23, 22, 23, 22, 22, 25, 22, 1, 1, 1 + 6, 1, 1, 8, 9, 10, 11, 12, 13, 14, + 14, 15, 16, 17, 1, 18, 1, 19, 1, 20, + 21, 22, 22, 22, 20, 23, 23, 23, 23, 23, + 23, 23, 24, 23, 23, 23, 24, 23, 24, 23, + 25, 23, 26, 23, 1, 6, 1, 27, 20, 21, + 22, 22, 22, 20, 23, 23, 23, 23, 23, 23, + 24, 23, 23, 23, 24, 23, 24, 23, 23, 26, + 23, 1, 1, 1 } ; -static yyconst flex_int16_t yy_base[515] = +static yyconst flex_int16_t yy_base[552] = { 0, - 0, 80, 160, 0, 238, 239, 241, 244, 236, 241, - 263, 0, 343, 0, 1068, 3182, 3182, 3182, 0, 1059, - 0, 3182, 3182, 953, 236, 0, 942, 0, 0, 392, - 395, 387, 388, 394, 388, 387, 385, 400, 405, 395, - 3182, 3182, 0, 463, 424, 932, 486, 462, 502, 529, - 572, 538, 540, 568, 505, 569, 570, 612, 613, 592, - 3182, 3182, 3182, 420, 933, 3182, 3182, 904, 3182, 0, - 3182, 3182, 904, 899, 863, 0, 3182, 3182, 3182, 428, - 3182, 3182, 3182, 0, 3182, 3182, 3182, 852, 435, 438, - 3182, 3182, 449, 3182, 3182, 3182, 3182, 3182, 3182, 830, - - 455, 487, 3182, 233, 798, 783, 413, 0, 461, 485, - 484, 486, 488, 3182, 3182, 534, 778, 3182, 685, 569, - 0, 617, 518, 0, 3182, 0, 754, 509, 535, 537, - 545, 588, 0, 588, 524, 611, 610, 604, 609, 612, - 720, 765, 646, 0, 767, 752, 0, 758, 781, 792, - 676, 667, 806, 835, 814, 859, 872, 796, 791, 740, - 794, 742, 795, 851, 861, 859, 778, 854, 862, 866, - 554, 3182, 448, 665, 3182, 3182, 0, 630, 613, 3182, - 0, 834, 0, 3182, 860, 3182, 896, 0, 0, 760, - 3182, 900, 3182, 451, 0, 920, 3182, 3182, 3182, 3182, - - 0, 798, 858, 858, 0, 880, 899, 946, 3182, 574, - 3182, 976, 950, 959, 560, 966, 524, 0, 0, 0, - 0, 906, 1017, 1012, 1026, 1030, 1015, 1016, 1021, 1022, - 1033, 0, 1025, 1026, 1037, 0, 1070, 3182, 1073, 939, - 786, 1088, 1101, 1112, 1101, 1046, 1080, 1095, 1097, 1038, - 1109, 1116, 1114, 1115, 1118, 1130, 1166, 938, 0, 0, - 944, 0, 3182, 0, 1129, 0, 1138, 1147, 482, 3182, - 474, 0, 0, 0, 1147, 0, 1145, 1059, 0, 1083, - 1146, 1155, 1152, 1164, 1154, 0, 1161, 1156, 970, 1095, - 1201, 1164, 1168, 1184, 1172, 1173, 1192, 1188, 1174, 1196, - - 1208, 1205, 1204, 1206, 1212, 1259, 1235, 0, 1243, 0, - 1230, 1200, 0, 1224, 1238, 1233, 1236, 1279, 1250, 1243, - 1243, 1255, 1260, 0, 1195, 563, 1254, 1267, 1263, 1253, - 1296, 1281, 1266, 1278, 1294, 1297, 1264, 1304, 1287, 1292, - 1363, 1301, 1297, 1370, 1374, 3182, 1377, 1294, 1310, 1312, - 1314, 659, 1334, 1388, 1328, 1353, 1395, 1400, 1373, 1368, - 1370, 1371, 1353, 573, 1421, 3182, 1369, 1386, 1446, 3182, - 1453, 3182, 1391, 808, 1460, 1412, 1416, 3182, 1423, 1405, - 1434, 1440, 1427, 1479, 1450, 1413, 1422, 1495, 0, 1431, - 1506, 1510, 3182, 1521, 1432, 1524, 1449, 1465, 1535, 1538, - - 379, 1447, 1549, 3182, 1477, 1553, 3182, 1556, 3182, 1504, - 1483, 1498, 1512, 1532, 0, 374, 1514, 1523, 1511, 1529, - 1531, 0, 1532, 1537, 1547, 1548, 1542, 1545, 1538, 1551, - 1551, 1566, 1564, 1584, 1568, 1586, 1574, 1583, 239, 1604, - 3182, 3182, 1670, 1696, 1722, 1748, 1774, 1782, 1807, 1833, - 1851, 1865, 1889, 1907, 1925, 1950, 1970, 1988, 2014, 2040, - 2055, 2081, 2107, 2122, 2148, 2170, 2195, 2209, 2235, 2261, - 2275, 2299, 2317, 2332, 2351, 2372, 2397, 2420, 2441, 2460, - 2486, 2507, 2531, 2546, 2572, 2598, 2613, 2639, 2660, 2667, - 2688, 2714, 2735, 2748, 2757, 2783, 2809, 2835, 2861, 2887, - - 2913, 2939, 2965, 2983, 3005, 3027, 3048, 3067, 3093, 3107, - 3116, 3125, 3134, 3155 + 0, 84, 168, 0, 250, 251, 253, 256, 248, 253, + 275, 0, 359, 0, 1179, 3414, 3414, 3414, 0, 1159, + 0, 3414, 3414, 1146, 248, 0, 1036, 0, 0, 412, + 415, 406, 407, 414, 407, 422, 407, 405, 428, 426, + 413, 3414, 3414, 0, 484, 447, 1035, 507, 520, 534, + 553, 598, 558, 564, 591, 466, 500, 594, 595, 630, + 631, 628, 3414, 3414, 3414, 444, 1045, 3414, 3414, 1030, + 3414, 0, 3414, 3414, 1020, 960, 939, 0, 3414, 3414, + 3414, 449, 3414, 3414, 3414, 0, 3414, 3414, 3414, 926, + 447, 578, 3414, 3414, 450, 3414, 3414, 3414, 3414, 3414, + + 3414, 901, 526, 560, 3414, 245, 886, 870, 421, 0, + 485, 532, 554, 554, 458, 3414, 3414, 644, 870, 3414, + 707, 674, 0, 681, 490, 0, 3414, 0, 840, 560, + 599, 609, 744, 749, 0, 749, 751, 460, 545, 762, + 757, 750, 756, 759, 754, 801, 791, 0, 851, 815, + 0, 821, 693, 842, 832, 856, 858, 887, 866, 913, + 926, 842, 761, 840, 846, 816, 887, 905, 913, 906, + 923, 912, 845, 921, 917, 925, 537, 3414, 540, 816, + 3414, 3414, 0, 814, 805, 3414, 0, 684, 0, 3414, + 626, 3414, 958, 0, 0, 528, 3414, 971, 3414, 623, + + 0, 793, 3414, 3414, 3414, 3414, 0, 844, 867, 920, + 0, 855, 922, 1002, 3414, 794, 3414, 1051, 1005, 1011, + 695, 1018, 646, 0, 0, 0, 0, 950, 958, 1088, + 976, 985, 969, 1098, 1096, 1090, 1096, 1097, 1109, 0, + 1100, 1101, 1113, 0, 1026, 3414, 1029, 442, 687, 1166, + 1137, 1185, 1141, 1122, 1156, 1170, 1109, 1171, 1172, 1178, + 1186, 1152, 1167, 1187, 1188, 1203, 1232, 887, 0, 0, + 900, 0, 3414, 0, 1181, 0, 1187, 1192, 607, 3414, + 550, 0, 0, 0, 1201, 0, 1197, 1211, 0, 1234, + 1218, 1218, 487, 1228, 1223, 1231, 1223, 0, 1234, 1227, + + 1030, 1032, 1275, 1240, 1236, 1241, 1248, 1242, 1272, 1251, + 1266, 1265, 1260, 1267, 1285, 1284, 1280, 1281, 1289, 1331, + 1020, 0, 1022, 0, 1297, 1284, 0, 1296, 1310, 1300, + 1304, 1360, 1301, 1301, 1321, 1313, 1318, 1325, 1338, 0, + 486, 581, 1335, 1340, 1336, 1339, 1388, 1341, 1355, 1354, + 1370, 1378, 1390, 1353, 645, 1363, 1367, 1430, 1373, 1375, + 1434, 1448, 3414, 439, 1377, 1459, 1403, 1379, 1391, 1399, + 594, 970, 1463, 1429, 1428, 1477, 1432, 1480, 1453, 1446, + 1447, 1450, 1415, 607, 1505, 3414, 1425, 1471, 1508, 3414, + 1454, 1479, 1526, 3414, 1490, 822, 1533, 1492, 990, 3414, + + 1138, 1492, 1509, 1512, 1498, 1554, 1529, 1492, 1506, 1581, + 0, 1518, 1509, 1513, 1587, 1598, 3414, 1601, 1142, 1604, + 1519, 1571, 1615, 1618, 422, 1537, 1622, 3414, 1534, 1548, + 1574, 1629, 3414, 1645, 3414, 1594, 1591, 1599, 1598, 1648, + 1603, 1612, 0, 414, 1608, 1666, 3414, 1603, 1613, 1623, + 1689, 1636, 1638, 0, 1692, 3414, 1612, 1645, 1643, 1668, + 1637, 1656, 1635, 1648, 1658, 1669, 1681, 1688, 1681, 1689, + 1671, 1693, 251, 1708, 3414, 3414, 1777, 1804, 1831, 1858, + 1885, 1893, 1919, 1946, 1965, 1979, 2004, 2023, 2042, 2068, + 2089, 2108, 2135, 2162, 2178, 2205, 2232, 2248, 2275, 2298, + + 2324, 2338, 2365, 2392, 2419, 2446, 2465, 2479, 2504, 2523, + 2539, 2559, 2581, 2607, 2631, 2653, 2673, 2700, 2722, 2747, + 2763, 2790, 2817, 2833, 2860, 2882, 2889, 2911, 2938, 2960, + 1733, 2973, 3000, 3027, 3054, 3081, 3108, 3135, 3162, 3189, + 3208, 3231, 3254, 3276, 3296, 3323, 3337, 3346, 3355, 3364, + 3386 } ; -static yyconst flex_int16_t yy_def[515] = +static yyconst flex_int16_t yy_def[552] = { 0, - 442, 442, 442, 3, 443, 443, 444, 444, 445, 445, - 442, 11, 442, 13, 442, 442, 442, 442, 446, 447, - 448, 442, 442, 442, 449, 449, 450, 451, 452, 451, - 451, 451, 451, 451, 451, 451, 451, 451, 451, 451, - 442, 442, 449, 453, 454, 455, 456, 457, 458, 458, - 458, 51, 51, 51, 51, 51, 51, 51, 51, 51, - 442, 442, 442, 459, 460, 442, 442, 442, 442, 461, - 442, 442, 462, 462, 442, 463, 442, 442, 442, 442, - 442, 442, 442, 464, 442, 442, 442, 442, 465, 466, - 442, 442, 467, 442, 442, 442, 442, 442, 442, 442, - - 442, 442, 442, 442, 442, 442, 468, 468, 468, 468, - 468, 468, 468, 442, 442, 446, 447, 442, 442, 442, - 449, 449, 469, 470, 442, 451, 471, 451, 451, 451, - 451, 451, 451, 451, 451, 451, 451, 451, 451, 451, - 451, 472, 473, 474, 475, 473, 476, 442, 474, 477, - 475, 475, 478, 479, 451, 480, 480, 157, 157, 157, - 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, - 481, 442, 482, 483, 442, 442, 484, 485, 485, 442, - 486, 442, 487, 442, 488, 442, 489, 490, 491, 492, - 442, 493, 442, 442, 494, 442, 442, 442, 442, 442, - - 495, 495, 495, 495, 495, 495, 495, 442, 442, 496, - 442, 442, 442, 442, 497, 498, 499, 500, 501, 502, - 503, 504, 504, 504, 504, 504, 504, 504, 504, 504, - 504, 504, 504, 504, 504, 505, 442, 442, 498, 442, - 506, 507, 508, 508, 244, 244, 244, 244, 244, 244, - 244, 244, 244, 244, 244, 244, 509, 442, 510, 491, - 442, 511, 442, 495, 495, 495, 495, 495, 497, 442, - 499, 500, 501, 503, 504, 504, 504, 504, 504, 504, - 504, 504, 504, 504, 504, 504, 504, 504, 506, 506, - 506, 244, 244, 244, 244, 244, 244, 244, 244, 244, - - 244, 244, 244, 244, 244, 509, 442, 512, 442, 513, - 495, 495, 495, 504, 504, 504, 504, 504, 504, 504, - 504, 504, 504, 504, 442, 442, 244, 244, 244, 244, - 244, 244, 244, 244, 244, 244, 244, 509, 495, 495, - 504, 504, 504, 504, 442, 442, 504, 504, 504, 504, - 504, 442, 514, 244, 244, 244, 244, 244, 244, 244, - 244, 244, 495, 495, 442, 442, 504, 504, 442, 442, - 442, 442, 504, 504, 504, 504, 514, 442, 514, 244, - 244, 244, 244, 244, 244, 495, 495, 504, 504, 504, - 504, 442, 442, 504, 514, 244, 244, 244, 244, 244, - - 495, 495, 442, 442, 504, 442, 442, 442, 442, 244, - 495, 495, 504, 244, 495, 495, 504, 244, 495, 504, - 244, 495, 504, 244, 504, 244, 504, 244, 504, 244, - 504, 244, 504, 244, 504, 244, 504, 244, 504, 244, - 442, 0, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442 + 476, 476, 476, 3, 477, 477, 478, 478, 479, 479, + 476, 11, 476, 13, 476, 476, 476, 476, 480, 481, + 482, 476, 476, 476, 483, 483, 484, 485, 486, 485, + 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, + 485, 476, 476, 483, 487, 488, 489, 490, 491, 492, + 492, 492, 52, 52, 52, 52, 52, 52, 52, 52, + 52, 52, 476, 476, 476, 493, 494, 476, 476, 476, + 476, 495, 476, 476, 496, 496, 476, 497, 476, 476, + 476, 476, 476, 476, 476, 498, 476, 476, 476, 476, + 499, 500, 476, 476, 501, 476, 476, 476, 476, 476, + + 476, 476, 476, 476, 476, 476, 476, 476, 502, 502, + 502, 502, 502, 502, 502, 476, 476, 503, 504, 476, + 476, 476, 483, 483, 505, 506, 476, 507, 508, 507, + 507, 507, 507, 507, 507, 507, 507, 507, 507, 507, + 507, 507, 507, 507, 507, 509, 510, 511, 512, 510, + 513, 476, 511, 514, 512, 512, 515, 516, 507, 517, + 517, 161, 161, 161, 161, 161, 161, 161, 161, 161, + 161, 161, 161, 161, 161, 161, 518, 476, 519, 520, + 476, 476, 521, 522, 522, 476, 523, 476, 524, 476, + 525, 476, 526, 527, 528, 529, 476, 530, 476, 476, + + 531, 476, 476, 476, 476, 476, 532, 532, 532, 532, + 532, 532, 532, 476, 476, 533, 476, 476, 476, 476, + 534, 535, 536, 537, 538, 539, 540, 541, 541, 541, + 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, + 541, 541, 541, 542, 476, 476, 535, 476, 543, 544, + 545, 545, 252, 252, 252, 252, 252, 252, 252, 252, + 252, 252, 252, 252, 252, 252, 546, 476, 547, 528, + 476, 548, 476, 532, 532, 532, 532, 532, 534, 476, + 536, 537, 538, 540, 541, 541, 541, 541, 541, 541, + 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, + + 543, 543, 543, 252, 252, 252, 252, 252, 252, 252, + 252, 252, 252, 252, 252, 252, 252, 252, 252, 546, + 476, 549, 476, 550, 532, 532, 532, 541, 541, 541, + 541, 541, 541, 541, 541, 541, 541, 541, 541, 541, + 476, 476, 252, 252, 252, 252, 252, 252, 252, 252, + 252, 252, 252, 252, 546, 532, 532, 541, 541, 541, + 541, 476, 476, 541, 541, 541, 541, 541, 541, 541, + 476, 551, 252, 252, 252, 252, 252, 252, 252, 252, + 252, 252, 532, 532, 476, 476, 541, 541, 476, 476, + 541, 541, 476, 476, 541, 541, 541, 541, 551, 476, + + 551, 252, 252, 252, 252, 252, 252, 532, 532, 541, + 541, 541, 541, 541, 541, 476, 476, 541, 551, 252, + 252, 252, 252, 252, 532, 532, 476, 476, 541, 541, + 541, 476, 476, 476, 476, 252, 532, 532, 541, 541, + 541, 252, 532, 532, 541, 476, 476, 541, 252, 532, + 541, 541, 252, 532, 476, 476, 541, 252, 541, 252, + 541, 252, 541, 252, 541, 252, 541, 252, 541, 252, + 541, 252, 541, 252, 476, 0, 476, 476, 476, 476, + 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, + 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, + + 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, + 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, + 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, + 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, + 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, + 476 } ; -static yyconst flex_int16_t yy_nxt[3263] = +static yyconst flex_int16_t yy_nxt[3499] = { 0, 16, 17, 18, 17, 19, 16, 20, 21, 16, 22, 16, 16, 16, 23, 24, 16, 25, 26, 27, 28, 28, 28, 29, 16, 16, 16, 26, 26, 26, 30, 28, 31, 28, 32, 28, 33, 28, 34, 28, 28, - 35, 28, 28, 36, 37, 38, 39, 40, 28, 28, - 28, 28, 16, 16, 16, 28, 30, 28, 31, 28, - 32, 28, 33, 28, 34, 28, 35, 28, 28, 36, - 37, 38, 39, 40, 28, 28, 28, 41, 42, 43, - 16, 44, 18, 44, 19, 16, 20, 21, 16, 22, - 16, 16, 16, 45, 46, 16, 47, 26, 27, 28, - - 28, 28, 48, 16, 16, 16, 26, 26, 26, 49, - 50, 51, 50, 52, 50, 53, 50, 54, 50, 50, - 55, 50, 50, 56, 57, 58, 59, 60, 50, 50, - 50, 50, 16, 16, 16, 28, 49, 50, 51, 50, - 52, 50, 53, 50, 54, 50, 55, 50, 50, 56, - 57, 58, 59, 60, 50, 50, 50, 41, 42, 43, - 61, 62, 63, 62, 61, 64, 65, 61, 61, 61, - 61, 61, 66, 61, 61, 67, 61, 61, 68, 61, - 61, 61, 61, 61, 61, 69, 61, 61, 61, 70, - 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, - - 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, - 70, 70, 71, 61, 72, 61, 70, 70, 70, 70, - 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, - 70, 70, 70, 70, 70, 70, 70, 61, 61, 61, - 74, 74, 77, 77, 77, 77, 77, 77, 79, 122, - 441, 75, 75, 79, 123, 80, 80, 80, 197, 198, - 80, 80, 80, 81, 82, 83, 82, 81, 81, 81, - 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, - 81, 81, 81, 81, 81, 81, 81, 81, 81, 81, - 81, 81, 84, 84, 84, 84, 84, 84, 84, 84, - - 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, - 84, 84, 84, 84, 84, 81, 81, 81, 81, 84, - 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, - 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, - 81, 81, 81, 85, 86, 87, 86, 88, 89, 85, - 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, - 85, 100, 101, 102, 102, 85, 103, 104, 105, 106, - 85, 85, 107, 108, 109, 108, 108, 108, 108, 108, - 108, 108, 108, 108, 110, 111, 108, 108, 112, 113, - 108, 108, 108, 108, 108, 114, 85, 115, 85, 107, - - 108, 109, 108, 108, 108, 108, 108, 108, 108, 108, - 110, 111, 108, 108, 112, 113, 108, 108, 108, 108, - 85, 85, 85, 128, 129, 172, 131, 132, 133, 419, - 135, 136, 137, 138, 411, 134, 141, 130, 140, 147, - 186, 147, 188, 148, 148, 188, 139, 182, 182, 182, - 128, 129, 131, 132, 202, 133, 135, 136, 137, 191, - 138, 134, 141, 130, 142, 140, 142, 257, 257, 151, - 194, 194, 139, 173, 194, 194, 270, 144, 152, 144, - 202, 127, 127, 127, 270, 145, 121, 121, 187, 121, - 121, 121, 121, 121, 121, 121, 121, 121, 121, 122, - - 121, 121, 192, 203, 123, 195, 196, 196, 196, 121, - 121, 121, 121, 121, 121, 146, 126, 154, 126, 147, - 219, 155, 155, 126, 207, 126, 270, 204, 205, 203, - 195, 121, 206, 157, 156, 208, 209, 208, 121, 121, - 121, 121, 146, 126, 154, 126, 147, 164, 155, 155, - 126, 207, 126, 204, 205, 222, 228, 126, 206, 172, - 157, 156, 270, 121, 121, 121, 352, 156, 353, 156, - 213, 214, 213, 164, 223, 215, 211, 160, 224, 161, - 156, 222, 156, 228, 126, 146, 126, 154, 126, 147, - 225, 155, 155, 126, 156, 126, 156, 156, 156, 156, - - 223, 158, 162, 160, 224, 161, 156, 173, 156, 163, - 156, 156, 156, 165, 159, 179, 225, 166, 216, 214, - 216, 156, 387, 217, 156, 156, 156, 126, 158, 162, - 226, 227, 179, 170, 156, 163, 156, 156, 156, 165, - 159, 156, 156, 166, 229, 167, 169, 387, 156, 231, - 232, 233, 234, 230, 156, 156, 226, 227, 168, 170, - 156, 147, 352, 147, 353, 148, 148, 175, 156, 156, - 240, 229, 167, 169, 442, 231, 232, 233, 234, 230, - 156, 156, 241, 442, 168, 210, 210, 211, 210, 210, - 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, - - 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, - 210, 210, 210, 210, 212, 212, 212, 212, 212, 212, - 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, - 212, 212, 212, 212, 212, 212, 212, 210, 210, 210, - 210, 212, 212, 212, 212, 212, 212, 212, 212, 212, - 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, - 212, 212, 210, 210, 210, 235, 142, 147, 142, 147, - 191, 148, 148, 147, 151, 147, 221, 148, 148, 144, - 118, 144, 237, 238, 237, 246, 156, 145, 156, 289, - 290, 235, 121, 239, 238, 239, 121, 121, 121, 121, - - 121, 121, 121, 121, 121, 121, 121, 121, 200, 240, - 121, 246, 156, 192, 156, 121, 121, 121, 121, 121, - 121, 241, 152, 199, 253, 127, 127, 127, 221, 154, - 264, 147, 245, 155, 155, 244, 247, 156, 248, 236, - 156, 156, 156, 193, 121, 121, 121, 121, 236, 126, - 253, 126, 236, 182, 182, 182, 126, 264, 245, 391, - 236, 244, 247, 156, 248, 186, 156, 156, 156, 121, - 121, 121, 146, 126, 154, 126, 147, 184, 155, 155, - 126, 180, 126, 249, 391, 146, 126, 154, 126, 147, - 126, 155, 155, 126, 250, 126, 254, 156, 252, 265, - - 156, 179, 255, 251, 266, 156, 179, 156, 156, 267, - 249, 256, 156, 187, 126, 258, 258, 176, 243, 261, - 261, 250, 254, 156, 252, 265, 156, 126, 255, 251, - 266, 156, 268, 156, 156, 175, 267, 256, 156, 196, - 196, 196, 240, 275, 243, 120, 259, 208, 209, 208, - 262, 213, 214, 213, 241, 125, 215, 307, 307, 268, - 213, 214, 213, 309, 309, 215, 120, 216, 214, 216, - 275, 259, 217, 289, 290, 262, 210, 210, 211, 210, - 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, - 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, - - 210, 210, 210, 210, 210, 212, 212, 212, 212, 212, - 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, - 212, 212, 212, 212, 212, 212, 212, 212, 210, 210, - 210, 210, 212, 212, 212, 212, 212, 212, 212, 212, - 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, - 212, 212, 212, 210, 210, 210, 276, 277, 278, 279, - 280, 118, 281, 282, 283, 284, 285, 442, 286, 287, - 288, 237, 238, 237, 239, 238, 239, 156, 442, 296, - 442, 300, 276, 277, 278, 156, 279, 280, 281, 282, - 283, 284, 236, 285, 286, 287, 316, 288, 442, 442, - - 442, 236, 126, 156, 126, 236, 296, 300, 442, 126, - 297, 156, 317, 236, 146, 126, 154, 126, 147, 156, - 155, 155, 126, 316, 126, 146, 126, 154, 126, 147, - 442, 155, 155, 126, 156, 126, 156, 297, 292, 317, - 156, 442, 298, 126, 299, 156, 294, 295, 156, 302, - 442, 293, 301, 156, 156, 156, 126, 156, 303, 442, - 156, 304, 156, 305, 442, 292, 156, 126, 298, 156, - 299, 172, 294, 295, 156, 311, 302, 293, 301, 156, - 156, 156, 312, 156, 303, 306, 306, 304, 313, 314, - 305, 315, 318, 442, 319, 156, 320, 321, 325, 322, - - 323, 311, 324, 156, 325, 442, 327, 156, 312, 329, - 326, 156, 156, 332, 313, 314, 326, 315, 318, 173, - 319, 330, 320, 156, 321, 322, 323, 156, 324, 156, - 328, 156, 327, 156, 331, 156, 329, 156, 156, 332, - 333, 334, 442, 156, 156, 336, 340, 156, 330, 156, - 335, 156, 442, 156, 185, 185, 328, 156, 337, 339, - 331, 156, 190, 190, 172, 341, 333, 342, 334, 156, - 156, 336, 340, 156, 343, 344, 335, 156, 338, 338, - 345, 345, 345, 347, 337, 348, 339, 349, 350, 351, - 346, 341, 357, 156, 342, 354, 355, 345, 345, 345, - - 343, 344, 156, 156, 356, 156, 156, 346, 359, 172, - 347, 348, 173, 349, 358, 350, 351, 156, 357, 156, - 156, 354, 360, 355, 363, 373, 362, 361, 156, 156, - 356, 156, 156, 156, 359, 156, 156, 364, 442, 378, - 442, 358, 367, 156, 368, 442, 156, 442, 360, 442, - 442, 363, 373, 362, 361, 442, 374, 173, 375, 156, - 376, 156, 156, 364, 365, 365, 365, 156, 367, 380, - 368, 369, 369, 369, 366, 345, 345, 345, 371, 371, - 371, 370, 374, 442, 375, 346, 376, 379, 372, 365, - 365, 365, 156, 156, 386, 380, 369, 369, 369, 366, - - 381, 371, 371, 371, 382, 442, 370, 156, 442, 156, - 156, 372, 156, 442, 383, 388, 384, 385, 156, 389, - 386, 378, 365, 365, 365, 390, 381, 156, 395, 442, - 442, 382, 366, 156, 156, 156, 156, 378, 156, 156, - 383, 388, 384, 385, 156, 394, 389, 369, 369, 369, - 442, 396, 390, 156, 371, 371, 371, 370, 401, 402, - 156, 392, 392, 392, 372, 156, 156, 397, 405, 379, - 156, 393, 394, 156, 398, 442, 379, 396, 399, 156, - 392, 392, 392, 400, 401, 379, 402, 442, 156, 156, - 393, 442, 156, 412, 397, 405, 403, 403, 403, 156, - - 442, 398, 410, 399, 156, 156, 404, 406, 406, 406, - 400, 392, 392, 392, 156, 156, 413, 407, 156, 412, - 415, 393, 408, 408, 408, 403, 403, 403, 442, 410, - 156, 442, 409, 442, 416, 404, 406, 406, 406, 408, - 408, 408, 413, 414, 156, 417, 407, 415, 422, 409, - 403, 403, 403, 420, 406, 406, 406, 408, 408, 408, - 404, 416, 421, 156, 407, 418, 423, 409, 424, 414, - 156, 156, 417, 425, 156, 422, 156, 156, 426, 420, - 427, 428, 442, 429, 156, 431, 430, 156, 421, 156, - 156, 433, 418, 423, 435, 424, 156, 156, 432, 425, - - 156, 437, 156, 156, 426, 156, 434, 427, 428, 429, - 156, 431, 430, 156, 436, 441, 156, 433, 439, 438, - 442, 435, 156, 156, 432, 156, 442, 440, 437, 442, - 442, 156, 434, 442, 442, 442, 442, 442, 442, 442, - 442, 436, 442, 156, 439, 442, 438, 442, 156, 156, - 442, 156, 442, 440, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 156, - 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, - 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, - 73, 73, 73, 73, 73, 73, 76, 76, 76, 76, - - 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, - 76, 76, 76, 76, 76, 76, 76, 76, 76, 76, - 76, 76, 78, 78, 78, 78, 78, 78, 78, 78, - 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, - 78, 78, 78, 78, 78, 78, 78, 78, 116, 442, - 442, 442, 116, 116, 116, 116, 116, 116, 116, 116, - 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, - 116, 116, 116, 116, 117, 117, 117, 117, 117, 117, - 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, - 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, - - 119, 119, 119, 119, 119, 119, 119, 121, 121, 442, - 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, - 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, - 121, 121, 121, 124, 124, 124, 124, 124, 124, 124, - 124, 124, 124, 124, 124, 124, 124, 124, 124, 124, - 124, 124, 124, 124, 124, 124, 124, 124, 124, 126, - 126, 126, 442, 126, 126, 442, 126, 442, 442, 126, - 126, 126, 126, 126, 126, 126, 126, 127, 127, 442, - 442, 442, 442, 127, 127, 127, 127, 127, 127, 127, - 143, 442, 143, 442, 442, 442, 143, 143, 442, 143, - - 442, 442, 442, 143, 442, 442, 442, 143, 143, 143, - 143, 143, 143, 143, 146, 442, 146, 442, 146, 146, - 442, 442, 442, 442, 442, 146, 146, 146, 146, 146, - 146, 146, 149, 442, 442, 149, 149, 149, 149, 149, - 442, 442, 442, 149, 149, 149, 149, 149, 149, 149, - 150, 150, 442, 150, 150, 150, 150, 150, 150, 150, - 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, - 150, 150, 150, 150, 150, 150, 153, 442, 442, 442, - 153, 442, 153, 153, 442, 442, 442, 442, 153, 153, - 153, 153, 153, 153, 153, 156, 156, 156, 156, 156, - - 156, 156, 442, 156, 442, 442, 156, 156, 156, 156, - 156, 156, 156, 156, 171, 171, 171, 171, 171, 171, - 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, - 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, - 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, - 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, - 174, 174, 174, 174, 174, 174, 177, 177, 177, 442, - 442, 442, 442, 177, 177, 177, 177, 177, 177, 177, - 177, 178, 178, 178, 178, 178, 178, 178, 442, 178, - 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, - - 178, 178, 178, 178, 178, 178, 178, 181, 442, 442, - 442, 181, 181, 181, 181, 181, 181, 181, 181, 181, - 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, - 181, 181, 181, 183, 183, 183, 442, 442, 442, 442, - 183, 183, 183, 183, 183, 183, 183, 183, 185, 185, - 185, 185, 185, 185, 442, 185, 185, 185, 185, 185, - 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, - 185, 185, 185, 185, 189, 442, 189, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 189, 189, - 189, 189, 189, 189, 189, 190, 190, 190, 190, 190, - - 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, - 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, - 190, 201, 201, 442, 442, 442, 442, 201, 201, 201, - 201, 201, 201, 201, 201, 218, 218, 218, 218, 218, + 35, 36, 28, 28, 37, 28, 38, 39, 40, 41, + 28, 28, 28, 28, 16, 16, 16, 28, 30, 28, + 31, 28, 32, 28, 33, 28, 34, 28, 35, 36, + 28, 28, 37, 28, 38, 39, 40, 41, 28, 28, + 28, 42, 43, 44, 16, 45, 18, 45, 19, 16, + 20, 21, 16, 22, 16, 16, 16, 46, 47, 16, + + 48, 26, 27, 28, 28, 28, 49, 16, 16, 16, + 26, 26, 26, 50, 51, 52, 51, 53, 51, 54, + 51, 55, 51, 51, 56, 57, 51, 51, 58, 51, + 59, 60, 61, 62, 51, 51, 51, 51, 16, 16, + 16, 28, 50, 51, 52, 51, 53, 51, 54, 51, + 55, 51, 56, 57, 51, 51, 58, 51, 59, 60, + 61, 62, 51, 51, 51, 42, 43, 44, 63, 64, + 65, 64, 63, 66, 67, 63, 63, 63, 63, 63, + 68, 63, 63, 69, 63, 63, 70, 63, 63, 63, + 63, 63, 63, 71, 63, 63, 63, 72, 72, 72, + + 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, + 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, + 72, 72, 73, 63, 74, 63, 72, 72, 72, 72, + 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, + 72, 72, 72, 72, 72, 72, 72, 72, 72, 63, + 63, 63, 76, 76, 79, 79, 79, 79, 79, 79, + 81, 124, 475, 77, 77, 81, 125, 82, 82, 82, + 203, 204, 82, 82, 82, 83, 84, 85, 84, 83, + 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, + 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, + + 83, 83, 83, 83, 86, 86, 86, 86, 86, 86, + 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, + 86, 86, 86, 86, 86, 86, 86, 86, 86, 83, + 83, 83, 83, 86, 86, 86, 86, 86, 86, 86, + 86, 86, 86, 86, 86, 86, 86, 86, 86, 86, + 86, 86, 86, 86, 86, 86, 83, 83, 83, 87, + 88, 89, 88, 90, 91, 87, 92, 93, 94, 95, + 96, 97, 98, 99, 100, 101, 87, 102, 103, 104, + 104, 87, 105, 106, 107, 108, 87, 87, 109, 110, + 111, 110, 110, 110, 110, 110, 110, 110, 110, 110, + + 110, 112, 113, 110, 110, 110, 114, 115, 110, 110, + 110, 110, 110, 116, 87, 117, 87, 109, 110, 111, + 110, 110, 110, 110, 110, 110, 110, 110, 110, 112, + 113, 110, 110, 110, 114, 115, 110, 110, 110, 110, + 87, 87, 87, 130, 131, 248, 133, 134, 135, 178, + 137, 138, 192, 140, 141, 145, 136, 249, 132, 144, + 197, 142, 151, 208, 151, 139, 152, 152, 188, 188, + 188, 450, 130, 131, 133, 134, 143, 135, 137, 437, + 138, 140, 141, 145, 136, 146, 132, 146, 144, 341, + 142, 208, 225, 139, 213, 160, 391, 235, 148, 179, + + 148, 342, 193, 123, 143, 198, 149, 123, 123, 168, + 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, + 124, 123, 123, 213, 160, 125, 235, 155, 209, 169, + 123, 123, 123, 123, 123, 123, 156, 168, 197, 129, + 129, 129, 178, 170, 334, 200, 200, 150, 128, 158, + 128, 151, 280, 159, 159, 128, 209, 128, 169, 267, + 267, 123, 123, 123, 123, 161, 150, 128, 158, 128, + 151, 170, 159, 159, 128, 210, 128, 236, 201, 202, + 202, 202, 194, 198, 371, 194, 372, 160, 123, 123, + 123, 128, 179, 160, 161, 194, 194, 371, 164, 372, + + 211, 160, 212, 210, 165, 201, 236, 160, 228, 280, + 128, 150, 128, 158, 128, 151, 160, 159, 159, 128, + 160, 128, 160, 160, 160, 166, 164, 162, 211, 160, + 212, 192, 165, 167, 160, 160, 228, 160, 160, 229, + 171, 163, 200, 200, 172, 214, 215, 214, 280, 160, + 178, 230, 160, 160, 166, 128, 162, 160, 409, 160, + 160, 167, 160, 173, 175, 160, 160, 229, 171, 163, + 176, 160, 172, 160, 160, 219, 220, 219, 174, 230, + 221, 193, 222, 220, 222, 409, 160, 223, 160, 160, + 301, 302, 173, 175, 245, 246, 245, 280, 176, 160, + + 179, 160, 160, 188, 188, 188, 174, 216, 216, 217, + 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, + 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, + 216, 216, 216, 216, 216, 216, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, - 218, 220, 220, 442, 220, 220, 220, 220, 220, 220, - 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, - 220, 220, 220, 220, 220, 220, 220, 127, 127, 127, - 442, 442, 442, 127, 127, 127, 127, 127, 127, 127, - - 143, 442, 143, 442, 442, 442, 143, 143, 442, 143, - 442, 442, 442, 143, 442, 442, 442, 143, 143, 143, - 143, 143, 143, 143, 146, 442, 146, 442, 146, 146, - 442, 442, 442, 442, 442, 146, 146, 146, 146, 146, - 146, 146, 149, 149, 149, 149, 149, 442, 442, 442, - 149, 149, 149, 149, 149, 149, 149, 152, 442, 442, - 442, 152, 442, 442, 442, 442, 442, 442, 442, 152, - 152, 152, 152, 152, 152, 152, 236, 442, 442, 236, - 442, 236, 442, 236, 236, 442, 442, 236, 236, 442, - 236, 236, 236, 236, 236, 236, 236, 150, 150, 150, - - 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, - 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, - 150, 150, 150, 153, 442, 442, 442, 442, 442, 153, - 153, 442, 153, 153, 153, 442, 442, 442, 153, 153, - 153, 153, 153, 153, 153, 242, 442, 442, 242, 242, - 242, 242, 242, 242, 242, 442, 242, 242, 442, 242, - 242, 242, 242, 242, 242, 242, 242, 156, 156, 156, - 156, 156, 156, 156, 442, 156, 442, 442, 156, 156, - 156, 156, 156, 156, 156, 156, 171, 171, 171, 171, - 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, - - 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, - 171, 171, 171, 442, 442, 442, 442, 442, 442, 171, - 442, 442, 442, 442, 171, 171, 171, 442, 442, 171, - 171, 174, 174, 174, 174, 174, 174, 174, 174, 174, - 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, - 174, 174, 174, 174, 174, 174, 174, 177, 177, 177, - 442, 442, 442, 442, 177, 177, 177, 177, 177, 177, - 177, 177, 178, 178, 178, 178, 178, 178, 178, 442, - 178, 178, 178, 178, 178, 178, 178, 178, 178, 178, - 178, 178, 178, 178, 178, 178, 178, 178, 181, 442, - - 442, 442, 181, 181, 181, 181, 181, 181, 181, 181, - 181, 181, 181, 181, 181, 181, 181, 181, 181, 181, - 181, 181, 181, 181, 183, 183, 183, 442, 442, 442, - 442, 183, 183, 183, 183, 183, 183, 183, 183, 185, - 185, 185, 185, 185, 185, 442, 185, 185, 185, 185, - 185, 185, 185, 185, 185, 185, 185, 185, 185, 185, - 185, 185, 185, 185, 185, 185, 185, 442, 442, 442, - 442, 442, 185, 442, 442, 442, 442, 442, 442, 185, - 442, 442, 185, 442, 185, 189, 189, 189, 189, 189, - 189, 189, 260, 442, 442, 442, 442, 442, 260, 260, - - 260, 260, 442, 442, 442, 442, 260, 260, 260, 260, - 260, 260, 260, 260, 190, 190, 190, 190, 190, 190, - 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, - 190, 190, 190, 190, 190, 190, 190, 190, 190, 190, - 190, 190, 442, 442, 442, 442, 442, 190, 442, 442, - 442, 442, 442, 442, 190, 442, 442, 190, 442, 190, - 263, 442, 442, 442, 442, 442, 263, 263, 263, 201, - 201, 442, 442, 442, 442, 201, 201, 201, 201, 201, - 201, 201, 201, 210, 210, 210, 210, 210, 210, 210, - 210, 210, 210, 210, 210, 210, 210, 210, 210, 210, - - 210, 210, 210, 210, 210, 210, 210, 210, 210, 269, - 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, - 269, 269, 269, 269, 269, 269, 269, 269, 269, 269, - 269, 269, 269, 269, 269, 121, 121, 121, 121, 121, - 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, - 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, - 121, 271, 271, 271, 271, 271, 271, 271, 271, 271, - 271, 271, 271, 271, 271, 271, 271, 271, 271, 271, - 271, 271, 271, 271, 271, 271, 271, 272, 272, 442, - 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, - - 272, 272, 272, 272, 272, 272, 272, 272, 272, 272, - 272, 272, 272, 273, 273, 442, 273, 273, 273, 273, - 273, 273, 273, 273, 273, 273, 273, 273, 273, 273, - 273, 273, 273, 273, 273, 273, 273, 273, 273, 220, - 220, 442, 220, 220, 220, 220, 220, 220, 220, 220, - 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, - 220, 220, 220, 220, 220, 274, 274, 442, 274, 274, - 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, - 274, 274, 274, 274, 274, 274, 274, 274, 274, 274, - 274, 126, 126, 126, 442, 126, 126, 442, 126, 442, - - 442, 126, 126, 126, 126, 126, 126, 126, 126, 236, - 442, 442, 236, 442, 236, 442, 236, 236, 442, 442, - 236, 236, 442, 236, 236, 236, 236, 236, 236, 236, - 291, 291, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 291, 291, 291, 291, 291, - 291, 291, 242, 442, 442, 242, 242, 242, 242, 242, - 242, 242, 442, 242, 242, 442, 242, 242, 242, 242, - 242, 242, 242, 242, 156, 156, 156, 156, 156, 156, - 156, 442, 156, 442, 442, 156, 156, 156, 156, 156, - 156, 156, 156, 171, 171, 171, 171, 171, 171, 171, - - 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, - 171, 171, 171, 171, 171, 171, 171, 171, 171, 308, - 308, 442, 442, 442, 442, 308, 308, 308, 310, 310, - 442, 442, 442, 442, 310, 310, 310, 185, 185, 442, - 442, 442, 442, 185, 185, 185, 190, 190, 442, 442, - 442, 442, 190, 190, 190, 377, 377, 377, 377, 377, - 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, - 377, 377, 377, 377, 377, 377, 377, 377, 377, 377, - 377, 15, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442 + 218, 216, 216, 216, 216, 218, 218, 218, 218, 218, + 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, + 218, 218, 218, 218, 218, 218, 218, 218, 216, 216, + 216, 231, 232, 233, 234, 237, 217, 239, 240, 241, + + 242, 243, 146, 253, 146, 238, 151, 185, 151, 160, + 152, 152, 202, 202, 202, 148, 185, 148, 181, 231, + 232, 233, 234, 149, 237, 239, 240, 241, 242, 243, + 151, 253, 151, 238, 152, 152, 151, 160, 151, 476, + 152, 152, 123, 247, 246, 247, 123, 123, 123, 123, + 123, 123, 123, 123, 123, 123, 123, 123, 155, 248, + 123, 248, 227, 476, 160, 123, 123, 123, 123, 123, + 123, 249, 120, 249, 156, 415, 274, 129, 129, 129, + 227, 158, 252, 151, 277, 159, 159, 254, 160, 255, + 160, 244, 160, 263, 160, 206, 123, 123, 123, 123, + + 244, 128, 415, 128, 244, 274, 321, 321, 128, 275, + 252, 205, 244, 277, 199, 254, 160, 255, 160, 323, + 323, 263, 160, 123, 123, 123, 150, 128, 158, 128, + 151, 256, 159, 159, 128, 160, 128, 275, 259, 150, + 128, 158, 128, 151, 128, 159, 159, 128, 257, 128, + 258, 190, 262, 160, 160, 278, 260, 186, 265, 256, + 160, 160, 185, 160, 264, 160, 261, 259, 276, 160, + 128, 160, 266, 160, 251, 400, 257, 268, 268, 258, + 262, 160, 160, 128, 278, 260, 265, 285, 160, 160, + 271, 271, 264, 160, 261, 400, 276, 160, 286, 160, + + 266, 160, 251, 214, 215, 214, 219, 220, 219, 289, + 269, 221, 219, 220, 219, 290, 285, 221, 291, 222, + 220, 222, 185, 272, 223, 401, 286, 245, 246, 245, + 247, 246, 247, 301, 302, 476, 476, 269, 289, 191, + 191, 196, 196, 182, 290, 401, 291, 181, 122, 127, + 272, 216, 216, 217, 216, 216, 216, 216, 216, 216, + 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, + 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, + 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, + 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, + + 218, 218, 218, 218, 218, 216, 216, 216, 216, 218, + 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, + 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, + 218, 218, 216, 216, 216, 287, 288, 292, 293, 294, + 295, 296, 297, 419, 298, 299, 300, 400, 311, 160, + 150, 128, 158, 128, 151, 308, 159, 159, 128, 122, + 128, 120, 160, 287, 288, 292, 293, 294, 295, 296, + 244, 297, 298, 299, 304, 300, 311, 160, 476, 244, + 128, 160, 128, 244, 308, 316, 309, 128, 306, 307, + 160, 244, 160, 401, 128, 476, 160, 401, 150, 128, + + 158, 128, 151, 304, 159, 159, 128, 160, 128, 160, + 160, 160, 160, 312, 316, 309, 306, 307, 160, 310, + 160, 313, 314, 128, 160, 305, 160, 160, 160, 325, + 315, 317, 318, 326, 327, 160, 319, 178, 160, 160, + 160, 312, 128, 160, 328, 329, 160, 310, 330, 313, + 314, 320, 320, 305, 160, 160, 160, 325, 315, 317, + 318, 326, 327, 331, 337, 319, 332, 333, 335, 336, + 338, 160, 328, 329, 339, 340, 160, 330, 341, 476, + 160, 160, 160, 343, 476, 345, 476, 179, 160, 344, + 342, 160, 331, 337, 332, 333, 335, 336, 338, 347, + + 349, 346, 339, 340, 160, 160, 160, 160, 160, 160, + 160, 343, 160, 350, 345, 348, 160, 344, 351, 160, + 160, 353, 334, 476, 160, 160, 356, 347, 349, 160, + 346, 352, 357, 160, 160, 160, 178, 354, 358, 359, + 160, 350, 360, 348, 361, 364, 365, 351, 160, 353, + 355, 355, 160, 160, 366, 356, 367, 160, 369, 352, + 357, 362, 362, 362, 368, 354, 358, 370, 359, 374, + 360, 363, 361, 364, 365, 160, 160, 373, 375, 376, + 160, 160, 476, 366, 367, 377, 179, 369, 378, 362, + 362, 362, 368, 160, 160, 160, 370, 379, 374, 363, + + 383, 476, 476, 160, 160, 373, 375, 376, 160, 160, + 160, 381, 476, 377, 384, 387, 380, 378, 160, 382, + 476, 160, 160, 160, 388, 379, 392, 396, 160, 383, + 160, 385, 385, 385, 395, 389, 389, 389, 160, 397, + 381, 386, 384, 387, 380, 390, 160, 398, 382, 362, + 362, 362, 388, 476, 392, 396, 160, 408, 160, 363, + 393, 393, 393, 395, 385, 385, 385, 397, 160, 160, + 394, 402, 160, 410, 386, 398, 476, 403, 389, 389, + 389, 393, 393, 393, 404, 408, 160, 160, 390, 391, + 160, 394, 476, 160, 405, 406, 160, 160, 407, 402, + + 160, 410, 412, 160, 411, 403, 385, 385, 385, 389, + 389, 389, 413, 404, 160, 160, 386, 160, 160, 390, + 160, 160, 405, 406, 414, 418, 407, 393, 393, 393, + 412, 160, 160, 411, 416, 416, 416, 394, 160, 425, + 420, 413, 421, 426, 417, 160, 422, 429, 160, 160, + 431, 423, 160, 414, 418, 416, 416, 416, 430, 160, + 160, 476, 424, 476, 439, 417, 160, 425, 420, 160, + 476, 421, 426, 476, 476, 422, 429, 160, 423, 431, + 160, 440, 427, 427, 427, 438, 430, 160, 432, 432, + 432, 424, 428, 439, 160, 476, 476, 160, 433, 416, + + 416, 416, 434, 434, 434, 427, 427, 427, 436, 417, + 440, 160, 435, 438, 441, 428, 432, 432, 432, 434, + 434, 434, 160, 427, 427, 427, 433, 476, 443, 435, + 432, 432, 432, 428, 442, 444, 448, 436, 445, 160, + 433, 451, 441, 452, 160, 449, 434, 434, 434, 446, + 446, 446, 160, 453, 459, 160, 435, 443, 160, 447, + 454, 476, 442, 476, 444, 448, 445, 446, 446, 446, + 451, 452, 160, 457, 449, 458, 461, 447, 160, 463, + 160, 453, 459, 160, 465, 160, 160, 460, 160, 454, + 455, 455, 455, 455, 455, 455, 160, 466, 464, 467, + + 456, 462, 457, 456, 458, 461, 160, 463, 160, 160, + 468, 469, 465, 160, 471, 460, 160, 473, 470, 475, + 476, 476, 472, 476, 160, 466, 464, 467, 160, 160, + 462, 476, 476, 160, 476, 476, 160, 160, 468, 474, + 469, 476, 476, 471, 476, 473, 273, 470, 160, 476, + 476, 472, 273, 273, 273, 476, 160, 160, 476, 476, + 476, 160, 476, 476, 476, 476, 476, 474, 476, 476, + 476, 476, 476, 476, 476, 476, 160, 75, 75, 75, + 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, + 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, + + 75, 75, 75, 75, 78, 78, 78, 78, 78, 78, + 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, + 78, 78, 78, 78, 78, 78, 78, 78, 78, 78, + 78, 80, 80, 80, 80, 80, 80, 80, 80, 80, + 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, + 80, 80, 80, 80, 80, 80, 80, 80, 118, 476, + 476, 476, 118, 118, 118, 118, 118, 118, 118, 118, + 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, + 118, 118, 118, 118, 118, 119, 119, 119, 119, 119, + 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, + + 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, + 119, 119, 121, 121, 121, 121, 121, 121, 121, 123, + 123, 476, 123, 123, 123, 123, 123, 123, 123, 123, + 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, + 123, 123, 123, 123, 123, 123, 126, 126, 126, 126, + 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, + 126, 126, 126, 126, 126, 126, 126, 126, 126, 126, + 126, 126, 126, 128, 128, 128, 476, 476, 128, 128, + 476, 128, 476, 476, 128, 128, 128, 128, 128, 128, + 128, 128, 129, 129, 476, 476, 476, 476, 129, 129, + + 129, 129, 129, 129, 129, 147, 476, 147, 476, 476, + 476, 147, 147, 476, 147, 476, 476, 476, 476, 147, + 476, 476, 476, 147, 147, 147, 147, 147, 147, 147, + 150, 476, 150, 476, 150, 476, 150, 476, 476, 476, + 476, 476, 150, 150, 150, 150, 150, 150, 150, 153, + 476, 476, 153, 153, 476, 153, 153, 153, 476, 476, + 476, 153, 153, 153, 153, 153, 153, 153, 154, 154, + 476, 154, 154, 154, 154, 154, 154, 154, 154, 154, + 154, 154, 154, 154, 154, 154, 154, 154, 154, 154, + 154, 154, 154, 154, 154, 157, 476, 476, 476, 157, + + 476, 476, 157, 157, 476, 476, 476, 476, 157, 157, + 157, 157, 157, 157, 157, 160, 160, 160, 160, 160, + 476, 160, 160, 476, 160, 476, 476, 160, 160, 160, + 160, 160, 160, 160, 160, 177, 177, 177, 177, 177, + 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, + 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, + 177, 177, 180, 180, 180, 180, 180, 180, 180, 180, + 180, 180, 180, 180, 180, 180, 180, 180, 180, 180, + 180, 180, 180, 180, 180, 180, 180, 180, 180, 183, + 476, 183, 183, 476, 476, 476, 476, 183, 183, 183, + + 183, 183, 183, 183, 183, 184, 184, 184, 184, 184, + 184, 184, 476, 184, 184, 184, 184, 184, 184, 184, + 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, + 184, 184, 187, 476, 476, 476, 187, 187, 187, 187, + 187, 187, 187, 187, 187, 187, 187, 187, 187, 187, + 187, 187, 187, 187, 187, 187, 187, 187, 187, 189, + 476, 189, 189, 476, 476, 476, 476, 189, 189, 189, + 189, 189, 189, 189, 189, 191, 191, 191, 191, 191, + 191, 476, 191, 191, 191, 191, 191, 191, 191, 191, + 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, + + 191, 191, 195, 476, 195, 476, 476, 476, 476, 195, + 195, 476, 476, 476, 476, 476, 476, 195, 195, 195, + 195, 195, 195, 195, 196, 196, 196, 196, 196, 196, + 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, + 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, + 196, 207, 207, 476, 476, 476, 476, 207, 207, 207, + 207, 207, 207, 207, 207, 118, 118, 118, 118, 118, + 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, + 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, + 118, 118, 119, 119, 119, 119, 119, 119, 119, 119, + + 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, + 119, 119, 119, 119, 119, 119, 119, 119, 119, 224, + 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, + 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, + 224, 224, 224, 224, 224, 224, 226, 226, 476, 226, + 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, + 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, + 226, 226, 226, 128, 128, 128, 476, 476, 128, 128, + 476, 128, 476, 476, 128, 128, 128, 128, 128, 128, + 128, 128, 129, 129, 129, 476, 476, 476, 129, 129, + + 129, 129, 129, 129, 129, 147, 476, 147, 476, 476, + 476, 147, 147, 476, 147, 476, 476, 476, 476, 147, + 476, 476, 476, 147, 147, 147, 147, 147, 147, 147, + 150, 476, 150, 476, 150, 476, 150, 476, 476, 476, + 476, 476, 150, 150, 150, 150, 150, 150, 150, 153, + 153, 476, 153, 153, 153, 476, 476, 476, 153, 153, + 153, 153, 153, 153, 153, 156, 476, 476, 476, 156, + 476, 476, 476, 476, 476, 476, 476, 476, 156, 156, + 156, 156, 156, 156, 156, 244, 476, 476, 244, 476, + 244, 476, 244, 476, 244, 476, 476, 244, 244, 476, + + 244, 244, 244, 244, 244, 244, 244, 154, 154, 154, + 154, 154, 154, 154, 154, 154, 154, 154, 154, 154, + 154, 154, 154, 154, 154, 154, 154, 154, 154, 154, + 154, 154, 154, 154, 157, 476, 476, 476, 476, 476, + 157, 157, 476, 476, 157, 157, 157, 476, 476, 476, + 157, 157, 157, 157, 157, 157, 157, 250, 476, 476, + 250, 250, 250, 250, 250, 476, 250, 250, 476, 250, + 250, 476, 250, 250, 250, 250, 250, 250, 250, 250, + 160, 160, 160, 160, 160, 476, 160, 160, 476, 160, + 476, 476, 160, 160, 160, 160, 160, 160, 160, 160, + + 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, + 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, + 177, 177, 177, 177, 177, 177, 177, 177, 476, 476, + 476, 476, 476, 476, 476, 177, 476, 476, 476, 476, + 177, 177, 177, 476, 476, 177, 177, 180, 180, 180, + 180, 180, 180, 180, 180, 180, 180, 180, 180, 180, + 180, 180, 180, 180, 180, 180, 180, 180, 180, 180, + 180, 180, 180, 180, 183, 476, 183, 183, 476, 476, + 476, 476, 183, 183, 183, 183, 183, 183, 183, 183, + 184, 184, 184, 184, 184, 184, 184, 476, 184, 184, + + 184, 184, 184, 184, 184, 184, 184, 184, 184, 184, + 184, 184, 184, 184, 184, 184, 184, 187, 476, 476, + 476, 187, 187, 187, 187, 187, 187, 187, 187, 187, + 187, 187, 187, 187, 187, 187, 187, 187, 187, 187, + 187, 187, 187, 187, 189, 476, 189, 189, 476, 476, + 476, 476, 189, 189, 189, 189, 189, 189, 189, 189, + 191, 191, 191, 191, 191, 191, 476, 191, 191, 191, + 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, + 191, 191, 191, 191, 191, 191, 191, 191, 191, 476, + 476, 476, 476, 476, 476, 191, 476, 476, 476, 476, + + 476, 476, 191, 476, 476, 191, 476, 191, 195, 195, + 195, 195, 195, 195, 195, 270, 476, 476, 476, 476, + 476, 270, 270, 476, 270, 270, 476, 476, 476, 476, + 270, 270, 270, 270, 270, 270, 270, 270, 196, 196, + 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, + 196, 196, 196, 196, 196, 196, 196, 196, 196, 196, + 196, 196, 196, 196, 196, 196, 196, 476, 476, 476, + 476, 476, 476, 196, 476, 476, 476, 476, 476, 476, + 196, 476, 476, 196, 476, 196, 207, 207, 476, 476, + 476, 476, 207, 207, 207, 207, 207, 207, 207, 207, + + 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, + 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, + 216, 216, 216, 216, 216, 216, 216, 279, 279, 279, + 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, + 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, + 279, 279, 279, 279, 123, 123, 123, 123, 123, 123, + 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, + 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, + 123, 281, 281, 281, 281, 281, 281, 281, 281, 281, + 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, + + 281, 281, 281, 281, 281, 281, 281, 281, 282, 282, + 476, 282, 282, 282, 282, 282, 282, 282, 282, 282, + 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, + 282, 282, 282, 282, 282, 283, 283, 476, 283, 283, + 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, + 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, + 283, 283, 226, 226, 476, 226, 226, 226, 226, 226, + 226, 226, 226, 226, 226, 226, 226, 226, 226, 226, + 226, 226, 226, 226, 226, 226, 226, 226, 226, 284, + 284, 476, 284, 284, 284, 284, 284, 284, 284, 284, + + 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, + 284, 284, 284, 284, 284, 284, 128, 128, 128, 476, + 476, 128, 128, 476, 128, 476, 476, 128, 128, 128, + 128, 128, 128, 128, 128, 244, 476, 476, 244, 476, + 244, 476, 244, 476, 244, 476, 476, 244, 244, 476, + 244, 244, 244, 244, 244, 244, 244, 303, 303, 476, + 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, + 476, 476, 476, 303, 303, 303, 303, 303, 303, 303, + 250, 476, 476, 250, 250, 250, 250, 250, 476, 250, + 250, 476, 250, 250, 476, 250, 250, 250, 250, 250, + + 250, 250, 250, 160, 160, 160, 160, 160, 476, 160, + 160, 476, 160, 476, 476, 160, 160, 160, 160, 160, + 160, 160, 160, 177, 177, 177, 177, 177, 177, 177, + 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, + 177, 177, 177, 177, 177, 177, 177, 177, 177, 177, + 322, 322, 476, 476, 476, 476, 322, 322, 322, 324, + 324, 476, 476, 476, 476, 324, 324, 324, 191, 191, + 476, 476, 476, 476, 191, 191, 191, 196, 196, 476, + 476, 476, 476, 196, 196, 196, 399, 399, 399, 399, + 399, 399, 399, 399, 399, 399, 399, 399, 399, 399, + + 399, 399, 399, 399, 399, 399, 399, 399, 399, 399, + 399, 399, 399, 15, 476, 476, 476, 476, 476, 476, + 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, + 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, + 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, + 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, + 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, + 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, + 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, + 476, 476, 476, 476, 476, 476, 476, 476 + } ; -static yyconst flex_int16_t yy_chk[3263] = +static yyconst flex_int16_t yy_chk[3499] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, @@ -985,7 +1023,7 @@ static yyconst flex_int16_t yy_chk[3263] = 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, - 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, @@ -994,7 +1032,7 @@ static yyconst flex_int16_t yy_chk[3263] = 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, @@ -1003,10 +1041,10 @@ static yyconst flex_int16_t yy_chk[3263] = 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 5, 6, 7, 7, 7, 8, 8, 8, 9, 25, - 439, 5, 6, 10, 25, 9, 9, 9, 104, 104, - 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, - 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 5, 6, 7, 7, 7, 8, 8, 8, + 9, 25, 473, 5, 6, 10, 25, 9, 9, 9, + 106, 106, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, @@ -1014,8 +1052,8 @@ static yyconst flex_int16_t yy_chk[3263] = 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, - 11, 11, 11, 13, 13, 13, 13, 13, 13, 13, - 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, + 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, + 11, 11, 11, 11, 11, 11, 11, 11, 11, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, @@ -1023,329 +1061,356 @@ static yyconst flex_int16_t yy_chk[3263] = 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, - 13, 13, 13, 30, 31, 64, 32, 33, 34, 416, - 35, 36, 37, 38, 401, 34, 40, 31, 39, 45, - 89, 45, 90, 45, 45, 90, 38, 80, 80, 80, - 30, 31, 32, 33, 107, 34, 35, 36, 37, 93, - 38, 34, 40, 31, 44, 39, 44, 173, 173, 48, - 194, 194, 38, 64, 101, 101, 271, 44, 48, 44, - 107, 48, 48, 48, 269, 44, 47, 47, 89, 47, - 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, - - 47, 47, 93, 109, 47, 101, 102, 102, 102, 47, - 47, 47, 47, 47, 47, 49, 49, 49, 49, 49, - 123, 49, 49, 49, 113, 49, 217, 110, 111, 109, - 101, 123, 112, 49, 55, 116, 116, 116, 47, 47, - 47, 47, 50, 50, 50, 50, 50, 55, 50, 50, - 50, 113, 50, 110, 111, 128, 135, 49, 112, 171, - 49, 55, 215, 47, 47, 47, 326, 52, 326, 53, - 120, 120, 120, 55, 129, 120, 210, 52, 130, 53, - 52, 128, 53, 135, 50, 51, 51, 51, 51, 51, - 131, 51, 51, 51, 52, 51, 53, 54, 56, 57, - - 129, 51, 54, 52, 130, 53, 52, 171, 53, 54, - 54, 56, 57, 56, 51, 179, 131, 57, 122, 122, - 122, 60, 364, 122, 54, 56, 57, 51, 51, 54, - 132, 134, 178, 60, 60, 54, 54, 56, 57, 56, - 51, 58, 59, 57, 136, 58, 59, 364, 60, 137, - 138, 139, 140, 136, 58, 59, 132, 134, 58, 60, - 60, 143, 352, 143, 352, 143, 143, 174, 58, 59, - 152, 136, 58, 59, 152, 137, 138, 139, 140, 136, - 58, 59, 152, 151, 58, 119, 119, 119, 119, 119, - 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, - - 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, - 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, - 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, - 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, - 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, - 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, - 119, 119, 119, 119, 119, 141, 142, 146, 142, 146, - 190, 146, 146, 148, 145, 148, 127, 148, 148, 142, - 117, 142, 149, 149, 149, 160, 160, 142, 162, 241, - 241, 141, 150, 150, 150, 150, 150, 150, 150, 150, - - 150, 150, 150, 150, 150, 150, 150, 150, 106, 153, - 150, 160, 160, 190, 162, 150, 150, 150, 150, 150, - 150, 153, 153, 105, 167, 153, 153, 153, 153, 155, - 202, 155, 159, 155, 155, 158, 161, 159, 163, 154, - 161, 163, 158, 100, 150, 150, 150, 150, 154, 154, - 167, 154, 154, 182, 182, 182, 154, 202, 159, 374, - 154, 158, 161, 159, 163, 185, 161, 163, 158, 150, - 150, 150, 156, 156, 156, 156, 156, 88, 156, 156, - 156, 75, 156, 164, 374, 157, 157, 157, 157, 157, - 154, 157, 157, 157, 165, 157, 168, 164, 166, 203, - - 168, 74, 169, 165, 204, 166, 73, 165, 169, 206, - 164, 170, 170, 185, 156, 187, 187, 68, 157, 192, - 192, 165, 168, 164, 166, 203, 168, 157, 169, 165, - 204, 166, 207, 165, 169, 65, 206, 170, 170, 196, - 196, 196, 240, 222, 157, 46, 187, 208, 208, 208, - 192, 213, 213, 213, 240, 27, 213, 258, 258, 207, - 214, 214, 214, 261, 261, 214, 24, 216, 216, 216, - 222, 187, 216, 289, 289, 192, 212, 212, 212, 212, - 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, - 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, - - 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, - 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, - 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, - 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, - 212, 212, 212, 212, 212, 212, 212, 212, 212, 212, - 212, 212, 212, 212, 212, 212, 223, 224, 224, 225, - 226, 20, 227, 228, 229, 230, 231, 15, 233, 234, - 235, 237, 237, 237, 239, 239, 239, 250, 0, 246, - 0, 250, 223, 224, 224, 246, 225, 226, 227, 228, - 229, 230, 242, 231, 233, 234, 278, 235, 290, 290, - - 0, 242, 242, 250, 242, 242, 246, 250, 0, 242, - 247, 246, 280, 242, 243, 243, 243, 243, 243, 247, - 243, 243, 243, 278, 243, 244, 244, 244, 244, 244, - 0, 244, 244, 244, 248, 244, 249, 247, 243, 280, - 245, 0, 248, 242, 249, 247, 245, 245, 251, 252, - 0, 244, 251, 253, 254, 252, 243, 255, 254, 0, - 248, 255, 249, 256, 0, 243, 245, 244, 248, 256, - 249, 257, 245, 245, 251, 265, 252, 244, 251, 253, - 254, 252, 267, 255, 254, 257, 257, 255, 268, 275, - 256, 277, 281, 0, 282, 256, 283, 284, 325, 285, - - 287, 265, 288, 292, 291, 291, 292, 293, 267, 295, - 325, 295, 296, 299, 268, 275, 291, 277, 281, 257, - 282, 297, 283, 294, 284, 285, 287, 298, 288, 292, - 294, 297, 292, 293, 298, 300, 295, 295, 296, 299, - 300, 301, 0, 303, 302, 304, 312, 301, 297, 294, - 302, 305, 0, 298, 307, 307, 294, 297, 305, 311, - 298, 300, 309, 309, 306, 314, 300, 315, 301, 303, - 302, 304, 312, 301, 316, 317, 302, 305, 306, 306, - 318, 318, 318, 319, 305, 320, 311, 321, 322, 323, - 318, 314, 330, 327, 315, 327, 328, 331, 331, 331, - - 316, 317, 329, 337, 329, 333, 328, 331, 333, 338, - 319, 320, 306, 321, 332, 322, 323, 334, 330, 327, - 332, 327, 334, 328, 339, 348, 336, 335, 329, 337, - 329, 333, 328, 335, 333, 331, 336, 340, 0, 353, - 0, 332, 342, 334, 343, 0, 332, 0, 334, 0, - 0, 339, 348, 336, 335, 0, 349, 338, 350, 335, - 351, 331, 336, 340, 341, 341, 341, 355, 342, 355, - 343, 344, 344, 344, 341, 345, 345, 345, 347, 347, - 347, 344, 349, 0, 350, 345, 351, 353, 347, 354, - 354, 354, 356, 355, 363, 355, 357, 357, 357, 354, - - 356, 358, 358, 358, 359, 0, 357, 360, 0, 361, - 362, 358, 359, 0, 360, 367, 361, 362, 356, 368, - 363, 377, 365, 365, 365, 373, 356, 354, 379, 0, - 0, 359, 365, 360, 357, 361, 362, 395, 359, 358, - 360, 367, 361, 362, 380, 376, 368, 369, 369, 369, - 0, 380, 373, 354, 371, 371, 371, 369, 386, 387, - 357, 375, 375, 375, 371, 358, 383, 381, 390, 377, - 380, 375, 376, 381, 382, 0, 379, 380, 383, 382, - 384, 384, 384, 385, 386, 395, 387, 0, 397, 385, - 384, 0, 383, 402, 381, 390, 388, 388, 388, 381, - - 0, 382, 398, 383, 398, 382, 388, 391, 391, 391, - 385, 392, 392, 392, 397, 385, 405, 391, 384, 402, - 411, 392, 394, 394, 394, 396, 396, 396, 0, 398, - 398, 0, 394, 0, 412, 396, 399, 399, 399, 400, - 400, 400, 405, 410, 384, 413, 399, 411, 419, 400, - 403, 403, 403, 417, 406, 406, 406, 408, 408, 408, - 403, 412, 418, 396, 406, 414, 420, 408, 421, 410, - 421, 414, 413, 423, 399, 419, 424, 400, 424, 417, - 425, 426, 0, 427, 428, 429, 428, 426, 418, 396, - 430, 431, 414, 420, 433, 421, 421, 414, 430, 423, - - 399, 435, 424, 400, 424, 432, 432, 425, 426, 427, - 428, 429, 428, 426, 434, 440, 430, 431, 437, 436, - 0, 433, 438, 434, 430, 436, 0, 438, 435, 0, - 0, 432, 432, 0, 0, 0, 0, 0, 0, 0, - 0, 434, 0, 440, 437, 0, 436, 0, 438, 434, - 0, 436, 0, 438, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 440, - 443, 443, 443, 443, 443, 443, 443, 443, 443, 443, - 443, 443, 443, 443, 443, 443, 443, 443, 443, 443, - 443, 443, 443, 443, 443, 443, 444, 444, 444, 444, - - 444, 444, 444, 444, 444, 444, 444, 444, 444, 444, - 444, 444, 444, 444, 444, 444, 444, 444, 444, 444, - 444, 444, 445, 445, 445, 445, 445, 445, 445, 445, - 445, 445, 445, 445, 445, 445, 445, 445, 445, 445, - 445, 445, 445, 445, 445, 445, 445, 445, 446, 0, - 0, 0, 446, 446, 446, 446, 446, 446, 446, 446, - 446, 446, 446, 446, 446, 446, 446, 446, 446, 446, - 446, 446, 446, 446, 447, 447, 447, 447, 447, 447, - 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, - 447, 447, 447, 447, 447, 447, 447, 447, 447, 447, - - 448, 448, 448, 448, 448, 448, 448, 449, 449, 0, - 449, 449, 449, 449, 449, 449, 449, 449, 449, 449, - 449, 449, 449, 449, 449, 449, 449, 449, 449, 449, - 449, 449, 449, 450, 450, 450, 450, 450, 450, 450, - 450, 450, 450, 450, 450, 450, 450, 450, 450, 450, - 450, 450, 450, 450, 450, 450, 450, 450, 450, 451, - 451, 451, 0, 451, 451, 0, 451, 0, 0, 451, - 451, 451, 451, 451, 451, 451, 451, 452, 452, 0, - 0, 0, 0, 452, 452, 452, 452, 452, 452, 452, - 453, 0, 453, 0, 0, 0, 453, 453, 0, 453, - - 0, 0, 0, 453, 0, 0, 0, 453, 453, 453, - 453, 453, 453, 453, 454, 0, 454, 0, 454, 454, - 0, 0, 0, 0, 0, 454, 454, 454, 454, 454, - 454, 454, 455, 0, 0, 455, 455, 455, 455, 455, - 0, 0, 0, 455, 455, 455, 455, 455, 455, 455, - 456, 456, 0, 456, 456, 456, 456, 456, 456, 456, - 456, 456, 456, 456, 456, 456, 456, 456, 456, 456, - 456, 456, 456, 456, 456, 456, 457, 0, 0, 0, - 457, 0, 457, 457, 0, 0, 0, 0, 457, 457, - 457, 457, 457, 457, 457, 458, 458, 458, 458, 458, - - 458, 458, 0, 458, 0, 0, 458, 458, 458, 458, - 458, 458, 458, 458, 459, 459, 459, 459, 459, 459, - 459, 459, 459, 459, 459, 459, 459, 459, 459, 459, - 459, 459, 459, 459, 459, 459, 459, 459, 459, 459, - 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, - 460, 460, 460, 460, 460, 460, 460, 460, 460, 460, - 460, 460, 460, 460, 460, 460, 461, 461, 461, 0, - 0, 0, 0, 461, 461, 461, 461, 461, 461, 461, - 461, 462, 462, 462, 462, 462, 462, 462, 0, 462, - 462, 462, 462, 462, 462, 462, 462, 462, 462, 462, - - 462, 462, 462, 462, 462, 462, 462, 463, 0, 0, - 0, 463, 463, 463, 463, 463, 463, 463, 463, 463, - 463, 463, 463, 463, 463, 463, 463, 463, 463, 463, - 463, 463, 463, 464, 464, 464, 0, 0, 0, 0, - 464, 464, 464, 464, 464, 464, 464, 464, 465, 465, - 465, 465, 465, 465, 0, 465, 465, 465, 465, 465, - 465, 465, 465, 465, 465, 465, 465, 465, 465, 465, - 465, 465, 465, 465, 466, 0, 466, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 466, 466, - 466, 466, 466, 466, 466, 467, 467, 467, 467, 467, - - 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, - 467, 467, 467, 467, 467, 467, 467, 467, 467, 467, - 467, 468, 468, 0, 0, 0, 0, 468, 468, 468, - 468, 468, 468, 468, 468, 469, 469, 469, 469, 469, - 469, 469, 469, 469, 469, 469, 469, 469, 469, 469, - 469, 469, 469, 469, 469, 469, 469, 469, 469, 469, - 469, 470, 470, 0, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 470, 470, 470, - 470, 470, 470, 470, 470, 470, 470, 471, 471, 471, - 0, 0, 0, 471, 471, 471, 471, 471, 471, 471, - - 472, 0, 472, 0, 0, 0, 472, 472, 0, 472, - 0, 0, 0, 472, 0, 0, 0, 472, 472, 472, - 472, 472, 472, 472, 473, 0, 473, 0, 473, 473, - 0, 0, 0, 0, 0, 473, 473, 473, 473, 473, - 473, 473, 474, 474, 474, 474, 474, 0, 0, 0, - 474, 474, 474, 474, 474, 474, 474, 475, 0, 0, - 0, 475, 0, 0, 0, 0, 0, 0, 0, 475, - 475, 475, 475, 475, 475, 475, 476, 0, 0, 476, - 0, 476, 0, 476, 476, 0, 0, 476, 476, 0, - 476, 476, 476, 476, 476, 476, 476, 477, 477, 477, + 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, + 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, + 13, 13, 13, 30, 31, 248, 32, 33, 34, 66, + 35, 36, 91, 37, 38, 41, 34, 248, 31, 40, + 95, 39, 46, 109, 46, 36, 46, 46, 82, 82, + 82, 444, 30, 31, 32, 33, 39, 34, 35, 425, + 36, 37, 38, 41, 34, 45, 31, 45, 40, 341, + 39, 109, 125, 36, 115, 56, 364, 138, 45, 66, + + 45, 341, 91, 125, 39, 95, 45, 48, 48, 56, + 48, 48, 48, 48, 48, 48, 48, 48, 48, 48, + 48, 48, 48, 115, 56, 48, 138, 49, 111, 57, + 48, 48, 48, 48, 48, 48, 49, 56, 196, 49, + 49, 49, 177, 57, 293, 103, 103, 50, 50, 50, + 50, 50, 281, 50, 50, 50, 111, 50, 57, 179, + 179, 48, 48, 48, 48, 50, 51, 51, 51, 51, + 51, 57, 51, 51, 51, 112, 51, 139, 103, 104, + 104, 104, 92, 196, 342, 92, 342, 53, 48, 48, + 48, 50, 177, 54, 50, 92, 92, 371, 53, 371, + + 113, 53, 114, 112, 54, 103, 139, 54, 130, 279, + 51, 52, 52, 52, 52, 52, 53, 52, 52, 52, + 55, 52, 54, 58, 59, 55, 53, 52, 113, 53, + 114, 191, 54, 55, 55, 54, 130, 58, 59, 131, + 58, 52, 200, 200, 59, 118, 118, 118, 223, 55, + 355, 132, 58, 59, 55, 52, 52, 62, 384, 60, + 61, 55, 55, 60, 61, 58, 59, 131, 58, 52, + 62, 62, 59, 60, 61, 122, 122, 122, 60, 132, + 122, 191, 124, 124, 124, 384, 62, 124, 60, 61, + 249, 249, 60, 61, 153, 153, 153, 221, 62, 62, + + 355, 60, 61, 188, 188, 188, 60, 121, 121, 121, + 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, + 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, + 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, + 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, + 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, + 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, + 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, + 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, + 121, 133, 134, 136, 137, 140, 216, 141, 142, 143, + + 144, 145, 146, 163, 146, 140, 147, 185, 147, 163, + 147, 147, 202, 202, 202, 146, 184, 146, 180, 133, + 134, 136, 137, 146, 140, 141, 142, 143, 144, 145, + 150, 163, 150, 140, 150, 150, 152, 163, 152, 155, + 152, 152, 154, 154, 154, 154, 154, 154, 154, 154, + 154, 154, 154, 154, 154, 154, 154, 154, 149, 156, + 154, 157, 129, 156, 166, 154, 154, 154, 154, 154, + 154, 156, 119, 157, 157, 396, 208, 157, 157, 157, + 157, 159, 162, 159, 212, 159, 159, 164, 164, 165, + 162, 158, 166, 173, 165, 108, 154, 154, 154, 154, + + 158, 158, 396, 158, 158, 208, 268, 268, 158, 209, + 162, 107, 158, 212, 102, 164, 164, 165, 162, 271, + 271, 173, 165, 154, 154, 154, 160, 160, 160, 160, + 160, 167, 160, 160, 160, 167, 160, 209, 170, 161, + 161, 161, 161, 161, 158, 161, 161, 161, 168, 161, + 169, 90, 172, 168, 170, 213, 171, 77, 175, 167, + 172, 169, 76, 167, 174, 175, 171, 170, 210, 174, + 160, 171, 176, 176, 161, 372, 168, 193, 193, 169, + 172, 168, 170, 161, 213, 171, 175, 228, 172, 169, + 198, 198, 174, 175, 171, 399, 210, 174, 229, 171, + + 176, 176, 161, 214, 214, 214, 219, 219, 219, 231, + 193, 219, 220, 220, 220, 232, 228, 220, 233, 222, + 222, 222, 75, 198, 222, 372, 229, 245, 245, 245, + 247, 247, 247, 301, 301, 302, 302, 193, 231, 321, + 321, 323, 323, 70, 232, 399, 233, 67, 47, 27, + 198, 218, 218, 218, 218, 218, 218, 218, 218, 218, + 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, + 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, + 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, + 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, + 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, + 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, + 218, 218, 218, 218, 218, 218, 218, 218, 218, 218, + 218, 218, 218, 218, 218, 230, 230, 234, 235, 236, + 237, 238, 239, 401, 241, 242, 243, 419, 257, 257, + 251, 251, 251, 251, 251, 254, 251, 251, 251, 24, + 251, 20, 254, 230, 230, 234, 235, 236, 237, 238, + 250, 239, 241, 242, 251, 243, 257, 257, 15, 250, + 250, 253, 250, 250, 254, 262, 255, 250, 253, 253, + 254, 250, 262, 401, 251, 0, 255, 419, 252, 252, + + 252, 252, 252, 251, 252, 252, 252, 263, 252, 253, + 256, 258, 259, 258, 262, 255, 253, 253, 260, 256, + 262, 259, 260, 250, 255, 252, 261, 264, 265, 275, + 261, 264, 265, 277, 278, 263, 266, 267, 256, 258, + 259, 258, 252, 266, 285, 287, 260, 256, 288, 259, + 260, 267, 267, 252, 261, 264, 265, 275, 261, 264, + 265, 277, 278, 290, 296, 266, 291, 292, 294, 295, + 297, 266, 285, 287, 299, 300, 305, 288, 303, 303, + 304, 306, 308, 304, 0, 307, 0, 267, 307, 306, + 303, 310, 290, 296, 291, 292, 294, 295, 297, 310, + + 313, 309, 299, 300, 305, 312, 311, 314, 304, 306, + 308, 304, 309, 314, 307, 311, 307, 306, 315, 310, + 317, 318, 312, 0, 316, 315, 325, 310, 313, 319, + 309, 316, 326, 312, 311, 314, 320, 319, 328, 329, + 309, 314, 330, 311, 331, 333, 334, 315, 317, 318, + 320, 320, 316, 315, 335, 325, 336, 319, 338, 316, + 326, 332, 332, 332, 337, 319, 328, 339, 329, 344, + 330, 332, 331, 333, 334, 343, 345, 343, 345, 346, + 344, 348, 0, 335, 336, 348, 320, 338, 349, 347, + 347, 347, 337, 354, 350, 349, 339, 350, 344, 347, + + 356, 0, 0, 343, 345, 343, 345, 346, 344, 348, + 351, 352, 0, 348, 357, 359, 351, 349, 352, 353, + 0, 354, 350, 349, 360, 350, 365, 368, 347, 356, + 353, 358, 358, 358, 367, 361, 361, 361, 351, 369, + 352, 358, 357, 359, 351, 361, 352, 370, 353, 362, + 362, 362, 360, 0, 365, 368, 347, 383, 353, 362, + 366, 366, 366, 367, 373, 373, 373, 369, 375, 374, + 366, 374, 377, 387, 373, 370, 0, 375, 376, 376, + 376, 378, 378, 378, 379, 383, 380, 381, 376, 377, + 382, 378, 0, 379, 380, 381, 375, 374, 382, 374, + + 377, 387, 391, 373, 388, 375, 385, 385, 385, 389, + 389, 389, 392, 379, 380, 381, 385, 376, 382, 389, + 378, 379, 380, 381, 395, 398, 382, 393, 393, 393, + 391, 373, 402, 388, 397, 397, 397, 393, 405, 408, + 402, 392, 403, 409, 397, 376, 404, 412, 378, 403, + 414, 405, 404, 395, 398, 406, 406, 406, 413, 421, + 402, 0, 407, 0, 429, 406, 405, 408, 402, 407, + 0, 403, 409, 0, 0, 404, 412, 403, 405, 414, + 404, 430, 410, 410, 410, 426, 413, 421, 415, 415, + 415, 407, 410, 429, 406, 0, 0, 407, 415, 416, + + 416, 416, 418, 418, 418, 420, 420, 420, 422, 416, + 430, 422, 418, 426, 431, 420, 423, 423, 423, 424, + 424, 424, 406, 427, 427, 427, 423, 0, 437, 424, + 432, 432, 432, 427, 436, 438, 441, 422, 439, 422, + 432, 445, 431, 448, 420, 442, 434, 434, 434, 440, + 440, 440, 442, 449, 457, 423, 434, 437, 424, 440, + 450, 0, 436, 0, 438, 441, 439, 446, 446, 446, + 445, 448, 420, 452, 442, 453, 459, 446, 453, 461, + 442, 449, 457, 423, 463, 458, 424, 458, 464, 450, + 451, 451, 451, 455, 455, 455, 462, 464, 462, 465, + + 451, 460, 452, 455, 453, 459, 453, 461, 460, 466, + 466, 467, 463, 458, 469, 458, 464, 471, 468, 474, + 0, 0, 470, 0, 462, 464, 462, 465, 468, 470, + 460, 0, 0, 472, 0, 0, 460, 466, 466, 472, + 467, 0, 0, 469, 0, 471, 531, 468, 474, 0, + 0, 470, 531, 531, 531, 0, 468, 470, 0, 0, + 0, 472, 0, 0, 0, 0, 0, 472, 0, 0, + 0, 0, 0, 0, 0, 0, 474, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, 477, - 477, 477, 477, 478, 0, 0, 0, 0, 0, 478, - 478, 0, 478, 478, 478, 0, 0, 0, 478, 478, - 478, 478, 478, 478, 478, 479, 0, 0, 479, 479, - 479, 479, 479, 479, 479, 0, 479, 479, 0, 479, - 479, 479, 479, 479, 479, 479, 479, 480, 480, 480, - 480, 480, 480, 480, 0, 480, 0, 0, 480, 480, - 480, 480, 480, 480, 480, 480, 481, 481, 481, 481, + + 477, 477, 477, 477, 478, 478, 478, 478, 478, 478, + 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, + 478, 478, 478, 478, 478, 478, 478, 478, 478, 478, + 478, 479, 479, 479, 479, 479, 479, 479, 479, 479, + 479, 479, 479, 479, 479, 479, 479, 479, 479, 479, + 479, 479, 479, 479, 479, 479, 479, 479, 480, 0, + 0, 0, 480, 480, 480, 480, 480, 480, 480, 480, + 480, 480, 480, 480, 480, 480, 480, 480, 480, 480, + 480, 480, 480, 480, 480, 481, 481, 481, 481, 481, 481, 481, 481, 481, 481, 481, 481, 481, 481, 481, 481, 481, 481, 481, 481, 481, 481, 481, 481, 481, - 481, 481, 482, 0, 0, 0, 0, 0, 0, 482, - 0, 0, 0, 0, 482, 482, 482, 0, 0, 482, - 482, 483, 483, 483, 483, 483, 483, 483, 483, 483, + 481, 481, 482, 482, 482, 482, 482, 482, 482, 483, + 483, 0, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, 483, - 483, 483, 483, 483, 483, 483, 483, 484, 484, 484, - 0, 0, 0, 0, 484, 484, 484, 484, 484, 484, - 484, 484, 485, 485, 485, 485, 485, 485, 485, 0, - 485, 485, 485, 485, 485, 485, 485, 485, 485, 485, - 485, 485, 485, 485, 485, 485, 485, 485, 486, 0, - - 0, 0, 486, 486, 486, 486, 486, 486, 486, 486, - 486, 486, 486, 486, 486, 486, 486, 486, 486, 486, - 486, 486, 486, 486, 487, 487, 487, 0, 0, 0, - 0, 487, 487, 487, 487, 487, 487, 487, 487, 488, - 488, 488, 488, 488, 488, 0, 488, 488, 488, 488, - 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, - 488, 488, 488, 488, 488, 489, 489, 0, 0, 0, - 0, 0, 489, 0, 0, 0, 0, 0, 0, 489, - 0, 0, 489, 0, 489, 490, 490, 490, 490, 490, - 490, 490, 491, 0, 0, 0, 0, 0, 491, 491, - - 491, 491, 0, 0, 0, 0, 491, 491, 491, 491, - 491, 491, 491, 491, 492, 492, 492, 492, 492, 492, - 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, - 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, - 493, 493, 0, 0, 0, 0, 0, 493, 0, 0, - 0, 0, 0, 0, 493, 0, 0, 493, 0, 493, - 494, 0, 0, 0, 0, 0, 494, 494, 494, 495, - 495, 0, 0, 0, 0, 495, 495, 495, 495, 495, - 495, 495, 495, 496, 496, 496, 496, 496, 496, 496, + 483, 483, 483, 483, 483, 483, 484, 484, 484, 484, + 484, 484, 484, 484, 484, 484, 484, 484, 484, 484, + 484, 484, 484, 484, 484, 484, 484, 484, 484, 484, + 484, 484, 484, 485, 485, 485, 0, 0, 485, 485, + 0, 485, 0, 0, 485, 485, 485, 485, 485, 485, + 485, 485, 486, 486, 0, 0, 0, 0, 486, 486, + + 486, 486, 486, 486, 486, 487, 0, 487, 0, 0, + 0, 487, 487, 0, 487, 0, 0, 0, 0, 487, + 0, 0, 0, 487, 487, 487, 487, 487, 487, 487, + 488, 0, 488, 0, 488, 0, 488, 0, 0, 0, + 0, 0, 488, 488, 488, 488, 488, 488, 488, 489, + 0, 0, 489, 489, 0, 489, 489, 489, 0, 0, + 0, 489, 489, 489, 489, 489, 489, 489, 490, 490, + 0, 490, 490, 490, 490, 490, 490, 490, 490, 490, + 490, 490, 490, 490, 490, 490, 490, 490, 490, 490, + 490, 490, 490, 490, 490, 491, 0, 0, 0, 491, + + 0, 0, 491, 491, 0, 0, 0, 0, 491, 491, + 491, 491, 491, 491, 491, 492, 492, 492, 492, 492, + 0, 492, 492, 0, 492, 0, 0, 492, 492, 492, + 492, 492, 492, 492, 492, 493, 493, 493, 493, 493, + 493, 493, 493, 493, 493, 493, 493, 493, 493, 493, + 493, 493, 493, 493, 493, 493, 493, 493, 493, 493, + 493, 493, 494, 494, 494, 494, 494, 494, 494, 494, + 494, 494, 494, 494, 494, 494, 494, 494, 494, 494, + 494, 494, 494, 494, 494, 494, 494, 494, 494, 495, + 0, 495, 495, 0, 0, 0, 0, 495, 495, 495, + + 495, 495, 495, 495, 495, 496, 496, 496, 496, 496, + 496, 496, 0, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, 496, - - 496, 496, 496, 496, 496, 496, 496, 496, 496, 497, + 496, 496, 497, 0, 0, 0, 497, 497, 497, 497, 497, 497, 497, 497, 497, 497, 497, 497, 497, 497, - 497, 497, 497, 497, 497, 497, 497, 497, 497, 497, - 497, 497, 497, 497, 497, 498, 498, 498, 498, 498, - 498, 498, 498, 498, 498, 498, 498, 498, 498, 498, - 498, 498, 498, 498, 498, 498, 498, 498, 498, 498, - 498, 499, 499, 499, 499, 499, 499, 499, 499, 499, + 497, 497, 497, 497, 497, 497, 497, 497, 497, 498, + 0, 498, 498, 0, 0, 0, 0, 498, 498, 498, + 498, 498, 498, 498, 498, 499, 499, 499, 499, 499, + 499, 0, 499, 499, 499, 499, 499, 499, 499, 499, 499, 499, 499, 499, 499, 499, 499, 499, 499, 499, - 499, 499, 499, 499, 499, 499, 499, 500, 500, 0, - 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, - 500, 500, 500, 500, 500, 500, 500, 500, 500, 500, - 500, 500, 500, 501, 501, 0, 501, 501, 501, 501, + 499, 499, 500, 0, 500, 0, 0, 0, 0, 500, + 500, 0, 0, 0, 0, 0, 0, 500, 500, 500, + 500, 500, 500, 500, 501, 501, 501, 501, 501, 501, + 501, 501, 501, 501, 501, 501, 501, 501, 501, 501, 501, 501, 501, 501, 501, 501, 501, 501, 501, 501, - 501, 501, 501, 501, 501, 501, 501, 501, 501, 502, - 502, 0, 502, 502, 502, 502, 502, 502, 502, 502, - 502, 502, 502, 502, 502, 502, 502, 502, 502, 502, - 502, 502, 502, 502, 502, 503, 503, 0, 503, 503, + 501, 502, 502, 0, 0, 0, 0, 502, 502, 502, + 502, 502, 502, 502, 502, 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, 503, - 503, 504, 504, 504, 0, 504, 504, 0, 504, 0, - - 0, 504, 504, 504, 504, 504, 504, 504, 504, 505, - 0, 0, 505, 0, 505, 0, 505, 505, 0, 0, - 505, 505, 0, 505, 505, 505, 505, 505, 505, 505, - 506, 506, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 506, 506, 506, 506, 506, - 506, 506, 507, 0, 0, 507, 507, 507, 507, 507, - 507, 507, 0, 507, 507, 0, 507, 507, 507, 507, - 507, 507, 507, 507, 508, 508, 508, 508, 508, 508, - 508, 0, 508, 0, 0, 508, 508, 508, 508, 508, - 508, 508, 508, 509, 509, 509, 509, 509, 509, 509, - - 509, 509, 509, 509, 509, 509, 509, 509, 509, 509, - 509, 509, 509, 509, 509, 509, 509, 509, 509, 510, - 510, 0, 0, 0, 0, 510, 510, 510, 511, 511, - 0, 0, 0, 0, 511, 511, 511, 512, 512, 0, - 0, 0, 0, 512, 512, 512, 513, 513, 0, 0, - 0, 0, 513, 513, 513, 514, 514, 514, 514, 514, + 503, 503, 504, 504, 504, 504, 504, 504, 504, 504, + + 504, 504, 504, 504, 504, 504, 504, 504, 504, 504, + 504, 504, 504, 504, 504, 504, 504, 504, 504, 505, + 505, 505, 505, 505, 505, 505, 505, 505, 505, 505, + 505, 505, 505, 505, 505, 505, 505, 505, 505, 505, + 505, 505, 505, 505, 505, 505, 506, 506, 0, 506, + 506, 506, 506, 506, 506, 506, 506, 506, 506, 506, + 506, 506, 506, 506, 506, 506, 506, 506, 506, 506, + 506, 506, 506, 507, 507, 507, 0, 0, 507, 507, + 0, 507, 0, 0, 507, 507, 507, 507, 507, 507, + 507, 507, 508, 508, 508, 0, 0, 0, 508, 508, + + 508, 508, 508, 508, 508, 509, 0, 509, 0, 0, + 0, 509, 509, 0, 509, 0, 0, 0, 0, 509, + 0, 0, 0, 509, 509, 509, 509, 509, 509, 509, + 510, 0, 510, 0, 510, 0, 510, 0, 0, 0, + 0, 0, 510, 510, 510, 510, 510, 510, 510, 511, + 511, 0, 511, 511, 511, 0, 0, 0, 511, 511, + 511, 511, 511, 511, 511, 512, 0, 0, 0, 512, + 0, 0, 0, 0, 0, 0, 0, 0, 512, 512, + 512, 512, 512, 512, 512, 513, 0, 0, 513, 0, + 513, 0, 513, 0, 513, 0, 0, 513, 513, 0, + + 513, 513, 513, 513, 513, 513, 513, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, 514, - 514, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442, 442, 442, 442, 442, 442, 442, 442, 442, - 442, 442 + 514, 514, 514, 514, 515, 0, 0, 0, 0, 0, + 515, 515, 0, 0, 515, 515, 515, 0, 0, 0, + 515, 515, 515, 515, 515, 515, 515, 516, 0, 0, + 516, 516, 516, 516, 516, 0, 516, 516, 0, 516, + 516, 0, 516, 516, 516, 516, 516, 516, 516, 516, + 517, 517, 517, 517, 517, 0, 517, 517, 0, 517, + 0, 0, 517, 517, 517, 517, 517, 517, 517, 517, + + 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, + 518, 518, 518, 518, 518, 518, 518, 518, 518, 518, + 518, 518, 518, 518, 518, 518, 518, 519, 0, 0, + 0, 0, 0, 0, 0, 519, 0, 0, 0, 0, + 519, 519, 519, 0, 0, 519, 519, 520, 520, 520, + 520, 520, 520, 520, 520, 520, 520, 520, 520, 520, + 520, 520, 520, 520, 520, 520, 520, 520, 520, 520, + 520, 520, 520, 520, 521, 0, 521, 521, 0, 0, + 0, 0, 521, 521, 521, 521, 521, 521, 521, 521, + 522, 522, 522, 522, 522, 522, 522, 0, 522, 522, + + 522, 522, 522, 522, 522, 522, 522, 522, 522, 522, + 522, 522, 522, 522, 522, 522, 522, 523, 0, 0, + 0, 523, 523, 523, 523, 523, 523, 523, 523, 523, + 523, 523, 523, 523, 523, 523, 523, 523, 523, 523, + 523, 523, 523, 523, 524, 0, 524, 524, 0, 0, + 0, 0, 524, 524, 524, 524, 524, 524, 524, 524, + 525, 525, 525, 525, 525, 525, 0, 525, 525, 525, + 525, 525, 525, 525, 525, 525, 525, 525, 525, 525, + 525, 525, 525, 525, 525, 525, 525, 526, 526, 0, + 0, 0, 0, 0, 0, 526, 0, 0, 0, 0, + + 0, 0, 526, 0, 0, 526, 0, 526, 527, 527, + 527, 527, 527, 527, 527, 528, 0, 0, 0, 0, + 0, 528, 528, 0, 528, 528, 0, 0, 0, 0, + 528, 528, 528, 528, 528, 528, 528, 528, 529, 529, + 529, 529, 529, 529, 529, 529, 529, 529, 529, 529, + 529, 529, 529, 529, 529, 529, 529, 529, 529, 529, + 529, 529, 529, 529, 529, 530, 530, 0, 0, 0, + 0, 0, 0, 530, 0, 0, 0, 0, 0, 0, + 530, 0, 0, 530, 0, 530, 532, 532, 0, 0, + 0, 0, 532, 532, 532, 532, 532, 532, 532, 532, + + 533, 533, 533, 533, 533, 533, 533, 533, 533, 533, + 533, 533, 533, 533, 533, 533, 533, 533, 533, 533, + 533, 533, 533, 533, 533, 533, 533, 534, 534, 534, + 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, + 534, 534, 534, 534, 534, 534, 534, 534, 534, 534, + 534, 534, 534, 534, 535, 535, 535, 535, 535, 535, + 535, 535, 535, 535, 535, 535, 535, 535, 535, 535, + 535, 535, 535, 535, 535, 535, 535, 535, 535, 535, + 535, 536, 536, 536, 536, 536, 536, 536, 536, 536, + 536, 536, 536, 536, 536, 536, 536, 536, 536, 536, + + 536, 536, 536, 536, 536, 536, 536, 536, 537, 537, + 0, 537, 537, 537, 537, 537, 537, 537, 537, 537, + 537, 537, 537, 537, 537, 537, 537, 537, 537, 537, + 537, 537, 537, 537, 537, 538, 538, 0, 538, 538, + 538, 538, 538, 538, 538, 538, 538, 538, 538, 538, + 538, 538, 538, 538, 538, 538, 538, 538, 538, 538, + 538, 538, 539, 539, 0, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 539, + 539, 539, 539, 539, 539, 539, 539, 539, 539, 540, + 540, 0, 540, 540, 540, 540, 540, 540, 540, 540, + + 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, + 540, 540, 540, 540, 540, 540, 541, 541, 541, 0, + 0, 541, 541, 0, 541, 0, 0, 541, 541, 541, + 541, 541, 541, 541, 541, 542, 0, 0, 542, 0, + 542, 0, 542, 0, 542, 0, 0, 542, 542, 0, + 542, 542, 542, 542, 542, 542, 542, 543, 543, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 543, 543, 543, 543, 543, 543, 543, + 544, 0, 0, 544, 544, 544, 544, 544, 0, 544, + 544, 0, 544, 544, 0, 544, 544, 544, 544, 544, + + 544, 544, 544, 545, 545, 545, 545, 545, 0, 545, + 545, 0, 545, 0, 0, 545, 545, 545, 545, 545, + 545, 545, 545, 546, 546, 546, 546, 546, 546, 546, + 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, + 546, 546, 546, 546, 546, 546, 546, 546, 546, 546, + 547, 547, 0, 0, 0, 0, 547, 547, 547, 548, + 548, 0, 0, 0, 0, 548, 548, 548, 549, 549, + 0, 0, 0, 0, 549, 549, 549, 550, 550, 0, + 0, 0, 0, 550, 550, 550, 551, 551, 551, 551, + 551, 551, 551, 551, 551, 551, 551, 551, 551, 551, + + 551, 551, 551, 551, 551, 551, 551, 551, 551, 551, + 551, 551, 551, 476, 476, 476, 476, 476, 476, 476, + 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, + 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, + 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, + 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, + 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, + 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, + 476, 476, 476, 476, 476, 476, 476, 476, 476, 476, + 476, 476, 476, 476, 476, 476, 476, 476 + } ; /* Table of booleans, true if rule could match eol. */ -static yyconst flex_int32_t yy_rule_can_match_eol[98] = +static yyconst flex_int32_t yy_rule_can_match_eol[100] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, - 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, }; + 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, + 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, + }; static yy_state_type yy_last_accepting_state; static char *yy_last_accepting_cpos; @@ -1373,7 +1438,7 @@ char *yytext; * cases. So while we hope that cfsysline support can be dropped some time in * the future, we will probably keep these useful constructs. * -* Copyright 2011-2012 Rainer Gerhards and Adiscon GmbH. +* Copyright 2011-2013 Rainer Gerhards and Adiscon GmbH. * * This file is part of the rsyslog runtime library. * @@ -1451,7 +1516,7 @@ extern int yydebug; int fileno(FILE *stream); #endif -#line 1455 "lexer.c" +#line 1520 "lexer.c" #define INITIAL 0 #define INOBJ 1 @@ -1649,7 +1714,7 @@ YY_DECL /* keywords */ -#line 1653 "lexer.c" +#line 1718 "lexer.c" if ( !(yy_init) ) { @@ -1703,13 +1768,13 @@ 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 >= 443 ) + if ( yy_current_state >= 477 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; ++yy_cp; } - while ( yy_base[yy_current_state] != 3182 ); + while ( yy_base[yy_current_state] != 3414 ); yy_find_action: yy_act = yy_accept[yy_current_state]; @@ -1864,7 +1929,7 @@ YY_RULE_SETUP case 33: YY_RULE_SETUP #line 132 "lexer.l" -{ yylval.s = strdup(yytext); return VAR; } +{ yylval.s = strdup(yytext+1); return VAR; } YY_BREAK case 34: /* rule 34 can match eol */ @@ -2014,120 +2079,134 @@ case 57: /* rule 57 can match eol */ YY_RULE_SETUP #line 179 "lexer.l" -{ yylval.objType = CNFOBJ_GLOBAL; +{ yylval.objType = CNFOBJ_MAINQ; BEGIN INOBJ; return BEGINOBJ; } YY_BREAK case 58: /* rule 58 can match eol */ YY_RULE_SETUP #line 181 "lexer.l" -{ yylval.objType = CNFOBJ_TPL; - BEGIN INOBJ; return BEGIN_TPL; } +{ yylval.objType = CNFOBJ_GLOBAL; + BEGIN INOBJ; return BEGINOBJ; } YY_BREAK case 59: /* rule 59 can match eol */ YY_RULE_SETUP #line 183 "lexer.l" -{ yylval.objType = CNFOBJ_RULESET; - BEGIN INOBJ; return BEGIN_RULESET; } +{ yylval.objType = CNFOBJ_TPL; + BEGIN INOBJ; return BEGIN_TPL; } YY_BREAK case 60: /* rule 60 can match eol */ YY_RULE_SETUP #line 185 "lexer.l" -{ yylval.objType = CNFOBJ_PROPERTY; - BEGIN INOBJ; return BEGIN_PROPERTY; } +{ yylval.objType = CNFOBJ_RULESET; + BEGIN INOBJ; return BEGIN_RULESET; } YY_BREAK case 61: /* rule 61 can match eol */ YY_RULE_SETUP #line 187 "lexer.l" -{ yylval.objType = CNFOBJ_CONSTANT; - BEGIN INOBJ; return BEGIN_CONSTANT; } +{ yylval.objType = CNFOBJ_PROPERTY; + BEGIN INOBJ; return BEGIN_PROPERTY; } YY_BREAK case 62: /* rule 62 can match eol */ YY_RULE_SETUP #line 189 "lexer.l" -{ yylval.objType = CNFOBJ_INPUT; - BEGIN INOBJ; return BEGINOBJ; } +{ yylval.objType = CNFOBJ_CONSTANT; + BEGIN INOBJ; return BEGIN_CONSTANT; } YY_BREAK case 63: /* rule 63 can match eol */ YY_RULE_SETUP #line 191 "lexer.l" -{ yylval.objType = CNFOBJ_MODULE; +{ yylval.objType = CNFOBJ_INPUT; BEGIN INOBJ; return BEGINOBJ; } YY_BREAK case 64: /* rule 64 can match eol */ YY_RULE_SETUP #line 193 "lexer.l" -{ BEGIN INOBJ; return BEGIN_ACTION; } +{ yylval.objType = CNFOBJ_MODULE; + BEGIN INOBJ; return BEGINOBJ; } YY_BREAK case 65: /* rule 65 can match eol */ YY_RULE_SETUP -#line 194 "lexer.l" +#line 195 "lexer.l" +{ yylval.objType = CNFOBJ_LOOKUP_TABLE; + BEGIN INOBJ; return BEGINOBJ; } + YY_BREAK +case 66: +/* rule 66 can match eol */ +YY_RULE_SETUP +#line 197 "lexer.l" +{ BEGIN INOBJ; return BEGIN_ACTION; } + YY_BREAK +case 67: +/* rule 67 can match eol */ +YY_RULE_SETUP +#line 198 "lexer.l" { yylval.s = strdup(rmLeadingSpace(yytext)); dbgprintf("lexer: propfilt is '%s'\n", yylval.s); return PROPFILT; } YY_BREAK -case 66: +case 68: YY_RULE_SETUP -#line 199 "lexer.l" +#line 203 "lexer.l" { yylval.s = strdup(rmLeadingSpace(yytext)); return PRIFILT; } YY_BREAK -case 67: -#line 201 "lexer.l" -case 68: -#line 202 "lexer.l" case 69: -/* rule 69 can match eol */ -#line 203 "lexer.l" +#line 205 "lexer.l" case 70: -/* rule 70 can match eol */ -#line 204 "lexer.l" +#line 206 "lexer.l" case 71: /* rule 71 can match eol */ -#line 205 "lexer.l" +#line 207 "lexer.l" case 72: /* rule 72 can match eol */ -#line 206 "lexer.l" +#line 208 "lexer.l" case 73: /* rule 73 can match eol */ +#line 209 "lexer.l" +case 74: +/* rule 74 can match eol */ +#line 210 "lexer.l" +case 75: +/* rule 75 can match eol */ YY_RULE_SETUP -#line 206 "lexer.l" +#line 210 "lexer.l" { yylval.s = yytext; return LEGACY_ACTION; } YY_BREAK -case 74: +case 76: YY_RULE_SETUP -#line 207 "lexer.l" +#line 211 "lexer.l" { BEGIN INITIAL; return ENDOBJ; } YY_BREAK -case 75: +case 77: YY_RULE_SETUP -#line 208 "lexer.l" +#line 212 "lexer.l" { yylval.estr = es_newStrFromCStr(yytext, yyleng); return NAME; } YY_BREAK -case 76: -#line 211 "lexer.l" -case 77: -#line 212 "lexer.l" case 78: -#line 213 "lexer.l" +#line 215 "lexer.l" case 79: +#line 216 "lexer.l" +case 80: +#line 217 "lexer.l" +case 81: YY_RULE_SETUP -#line 213 "lexer.l" +#line 217 "lexer.l" { return(yytext[0]); } YY_BREAK -case 80: -/* rule 80 can match eol */ +case 82: +/* rule 82 can match eol */ YY_RULE_SETUP -#line 214 "lexer.l" +#line 218 "lexer.l" { yytext[yyleng-1] = '\0'; unescapeStr((uchar*)yytext+1, yyleng-2); @@ -2136,59 +2215,59 @@ YY_RULE_SETUP YY_BREAK /*yylval.estr = es_newStrFromBuf(yytext+1, yyleng-2); return VALUE; }*/ -case 81: +case 83: YY_RULE_SETUP -#line 221 "lexer.l" +#line 225 "lexer.l" { preCommentState = YY_START; BEGIN COMMENT; } YY_BREAK -case 82: +case 84: YY_RULE_SETUP -#line 222 "lexer.l" +#line 226 "lexer.l" { preCommentState = YY_START; BEGIN COMMENT; } YY_BREAK -case 83: +case 85: YY_RULE_SETUP -#line 223 "lexer.l" +#line 227 "lexer.l" { preCommentState = YY_START; BEGIN COMMENT; } YY_BREAK -case 84: +case 86: YY_RULE_SETUP -#line 224 "lexer.l" +#line 228 "lexer.l" { BEGIN preCommentState; } YY_BREAK -case 85: -/* rule 85 can match eol */ +case 87: +/* rule 87 can match eol */ YY_RULE_SETUP -#line 225 "lexer.l" +#line 229 "lexer.l" YY_BREAK -case 86: +case 88: *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 226 "lexer.l" +#line 230 "lexer.l" /* skip comments in input */ YY_BREAK -case 87: -/* rule 87 can match eol */ +case 89: +/* rule 89 can match eol */ YY_RULE_SETUP -#line 227 "lexer.l" +#line 231 "lexer.l" YY_BREAK -case 88: +case 90: YY_RULE_SETUP -#line 228 "lexer.l" +#line 232 "lexer.l" { parser_errmsg("invalid character '%s' in object definition " "- is there an invalid escape sequence somewhere?", yytext); } YY_BREAK -case 89: +case 91: *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 231 "lexer.l" +#line 235 "lexer.l" { /* see comment on $IncludeConfig above */ if(!strncasecmp(yytext, "$includeconfig ", 14)) { yyless(14); @@ -2201,55 +2280,55 @@ YY_RULE_SETUP } } YY_BREAK -case 90: +case 92: *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 242 "lexer.l" +#line 246 "lexer.l" { yylval.s = strdup(yytext); return BSD_TAG_SELECTOR; } YY_BREAK -case 91: -/* rule 91 can match eol */ +case 93: +/* rule 93 can match eol */ *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 243 "lexer.l" +#line 247 "lexer.l" { yylval.s = strdup(yytext); return BSD_HOST_SELECTOR; } YY_BREAK -case 92: -/* rule 92 can match eol */ +case 94: +/* rule 94 can match eol */ *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 244 "lexer.l" +#line 248 "lexer.l" { yylval.s = strdup(yytext); return BSD_HOST_SELECTOR; } YY_BREAK -case 93: +case 95: *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 245 "lexer.l" +#line 249 "lexer.l" { yylval.s = strdup(yytext); return BSD_HOST_SELECTOR; } YY_BREAK -case 94: -/* rule 94 can match eol */ +case 96: +/* rule 96 can match eol */ YY_RULE_SETUP -#line 246 "lexer.l" +#line 250 "lexer.l" /* skip comments in input */ YY_BREAK -case 95: -/* rule 95 can match eol */ +case 97: +/* rule 97 can match eol */ YY_RULE_SETUP -#line 247 "lexer.l" +#line 251 "lexer.l" /* drop whitespace */ YY_BREAK -case 96: +case 98: YY_RULE_SETUP -#line 248 "lexer.l" +#line 252 "lexer.l" { parser_errmsg("invalid character '%s' " "- is there an invalid escape sequence somewhere?", yytext); } @@ -2261,15 +2340,15 @@ case YY_STATE_EOF(INCL): case YY_STATE_EOF(LINENO): case YY_STATE_EOF(INCALL): case YY_STATE_EOF(EXPR): -#line 251 "lexer.l" +#line 255 "lexer.l" { if(popfile() != 0) yyterminate(); } YY_BREAK -case 97: +case 99: YY_RULE_SETUP -#line 253 "lexer.l" +#line 257 "lexer.l" YY_FATAL_ERROR( "flex scanner jammed" ); YY_BREAK -#line 2273 "lexer.c" +#line 2352 "lexer.c" case YY_END_OF_BUFFER: { @@ -2560,7 +2639,7 @@ static int yy_get_next_buffer (void) 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 >= 443 ) + if ( yy_current_state >= 477 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; @@ -2588,11 +2667,11 @@ static int yy_get_next_buffer (void) 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 >= 443 ) + if ( yy_current_state >= 477 ) 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 == 442); + yy_is_jam = (yy_current_state == 476); return yy_is_jam ? 0 : yy_current_state; } @@ -3238,7 +3317,7 @@ void yyfree (void * ptr ) #define YYTABLES_NAME "yytables" -#line 253 "lexer.l" +#line 257 "lexer.l" int diff --git a/grammar/lexer.l b/grammar/lexer.l index ed5d8a8..7fdb68a 100644 --- a/grammar/lexer.l +++ b/grammar/lexer.l @@ -9,7 +9,7 @@ * cases. So while we hope that cfsysline support can be dropped some time in * the future, we will probably keep these useful constructs. * - * Copyright 2011-2012 Rainer Gerhards and Adiscon GmbH. + * Copyright 2011-2013 Rainer Gerhards and Adiscon GmbH. * * This file is part of the rsyslog runtime library. * @@ -129,7 +129,7 @@ int fileno(FILE *stream); <EXPR>0[0-7]+ | /* octal number */ <EXPR>0x[0-7a-f] | /* hex number, following rule is dec; strtoll handles all! */ <EXPR>([1-9][0-9]*|0) { yylval.n = strtoll(yytext, NULL, 0); return NUMBER; } -<EXPR>\$[$!]{0,1}[a-z][!a-z0-9\-_\.]* { yylval.s = strdup(yytext); return VAR; } +<EXPR>\$[$!./]{0,1}[a-z][!a-z0-9\-_\.]* { yylval.s = strdup(yytext+1); return VAR; } <EXPR>\'([^'\\]|\\['"\\$bntr]|\\x[0-9a-f][0-9a-f]|\\[0-7][0-7][0-7])*\' { yytext[yyleng-1] = '\0'; unescapeStr((uchar*)yytext+1, yyleng-2); @@ -176,6 +176,8 @@ int fileno(FILE *stream); <INCL>[^ \t\n]+ { if(cnfDoInclude(yytext) != 0) yyterminate(); BEGIN INITIAL; } +"main_queue"[ \n\t]*"(" { yylval.objType = CNFOBJ_MAINQ; + BEGIN INOBJ; return BEGINOBJ; } "global"[ \n\t]*"(" { yylval.objType = CNFOBJ_GLOBAL; BEGIN INOBJ; return BEGINOBJ; } "template"[ \n\t]*"(" { yylval.objType = CNFOBJ_TPL; @@ -190,6 +192,8 @@ int fileno(FILE *stream); BEGIN INOBJ; return BEGINOBJ; } "module"[ \n\t]*"(" { yylval.objType = CNFOBJ_MODULE; BEGIN INOBJ; return BEGINOBJ; } +"lookup_table"[ \n\t]*"(" { yylval.objType = CNFOBJ_LOOKUP_TABLE; + BEGIN INOBJ; return BEGINOBJ; } "action"[ \n\t]*"(" { BEGIN INOBJ; return BEGIN_ACTION; } ^[ \t]*:\$?[a-z\-]+[ ]*,[ ]*!?[a-z]+[ ]*,[ ]*\"(\\\"|[^\"])*\" { yylval.s = strdup(rmLeadingSpace(yytext)); diff --git a/grammar/parserif.h b/grammar/parserif.h index aa271ec..21da095 100644 --- a/grammar/parserif.h +++ b/grammar/parserif.h @@ -6,6 +6,7 @@ int yyparse(); char *cnfcurrfn; void dbgprintf(char *fmt, ...) __attribute__((format(printf, 1, 2))); void parser_errmsg(char *fmt, ...) __attribute__((format(printf, 1, 2))); +void parser_warnmsg(char *fmt, ...) __attribute__((format(printf, 1, 2))); void tellLexEndParsing(void); extern int yydebug; extern int yylineno; @@ -19,5 +20,4 @@ void cnfDoScript(struct cnfstmt *script); void cnfDoCfsysline(char *ln); void cnfDoBSDTag(char *ln); void cnfDoBSDHost(char *ln); -es_str_t *cnfGetVar(char *name, void *usrptr); #endif diff --git a/grammar/rainerscript.c b/grammar/rainerscript.c index 25d9c9a..7afe9b1 100644 --- a/grammar/rainerscript.c +++ b/grammar/rainerscript.c @@ -38,6 +38,7 @@ #include "rainerscript.h" #include "conf.h" #include "parserif.h" +#include "parse.h" #include "rsconf.h" #include "grammar.h" #include "queue.h" @@ -46,6 +47,8 @@ #include "obj.h" #include "modules.h" #include "ruleset.h" +#include "msg.h" +#include "unicode-helper.h" DEFobjCurrIf(obj) DEFobjCurrIf(regexp) @@ -144,6 +147,104 @@ getFIOPName(unsigned iFIOP) return pRet; } + +/* This function takes the filter part of a property + * based filter and decodes it. It processes the line up to the beginning + * of the action part. + */ +static rsRetVal +DecodePropFilter(uchar *pline, struct cnfstmt *stmt) +{ + rsParsObj *pPars = NULL; + cstr_t *pCSCompOp = NULL; + cstr_t *pCSPropName = NULL; + int iOffset; /* for compare operations */ + DEFiRet; + + ASSERT(pline != NULL); + + DBGPRINTF("Decoding property-based filter '%s'\n", pline); + + /* create parser object starting with line string without leading colon */ + if((iRet = rsParsConstructFromSz(&pPars, pline+1)) != RS_RET_OK) { + parser_errmsg("error %d constructing parser object", iRet); + ABORT_FINALIZE(iRet); + } + + /* read property */ + iRet = parsDelimCStr(pPars, &pCSPropName, ',', 1, 1, 1); + if(iRet != RS_RET_OK) { + parser_errmsg("error %d parsing filter property", iRet); + rsParsDestruct(pPars); + ABORT_FINALIZE(iRet); + } + CHKiRet(msgPropDescrFill(&stmt->d.s_propfilt.prop, cstrGetSzStrNoNULL(pCSPropName), + cstrLen(pCSPropName))); + + /* read operation */ + iRet = parsDelimCStr(pPars, &pCSCompOp, ',', 1, 1, 1); + if(iRet != RS_RET_OK) { + parser_errmsg("error %d compare operation property - ignoring selector", iRet); + rsParsDestruct(pPars); + ABORT_FINALIZE(iRet); + } + + /* we now first check if the condition is to be negated. To do so, we first + * must make sure we have at least one char in the param and then check the + * first one. + * rgerhards, 2005-09-26 + */ + if(rsCStrLen(pCSCompOp) > 0) { + if(*rsCStrGetBufBeg(pCSCompOp) == '!') { + stmt->d.s_propfilt.isNegated = 1; + iOffset = 1; /* ignore '!' */ + } else { + stmt->d.s_propfilt.isNegated = 0; + iOffset = 0; + } + } else { + stmt->d.s_propfilt.isNegated = 0; + iOffset = 0; + } + + if(!rsCStrOffsetSzStrCmp(pCSCompOp, iOffset, (uchar*) "contains", 8)) { + stmt->d.s_propfilt.operation = FIOP_CONTAINS; + } else if(!rsCStrOffsetSzStrCmp(pCSCompOp, iOffset, (uchar*) "isequal", 7)) { + stmt->d.s_propfilt.operation = FIOP_ISEQUAL; + } else if(!rsCStrOffsetSzStrCmp(pCSCompOp, iOffset, (uchar*) "isempty", 7)) { + stmt->d.s_propfilt.operation = FIOP_ISEMPTY; + } else if(!rsCStrOffsetSzStrCmp(pCSCompOp, iOffset, (uchar*) "startswith", 10)) { + stmt->d.s_propfilt.operation = FIOP_STARTSWITH; + } else if(!rsCStrOffsetSzStrCmp(pCSCompOp, iOffset, (unsigned char*) "regex", 5)) { + stmt->d.s_propfilt.operation = FIOP_REGEX; + } else if(!rsCStrOffsetSzStrCmp(pCSCompOp, iOffset, (unsigned char*) "ereregex", 8)) { + stmt->d.s_propfilt.operation = FIOP_EREREGEX; + } else { + parser_errmsg("error: invalid compare operation '%s'", + (char*) rsCStrGetSzStrNoNULL(pCSCompOp)); + ABORT_FINALIZE(RS_RET_ERR); + } + + if(stmt->d.s_propfilt.operation != FIOP_ISEMPTY) { + /* read compare value */ + iRet = parsQuotedCStr(pPars, &stmt->d.s_propfilt.pCSCompValue); + if(iRet != RS_RET_OK) { + parser_errmsg("error %d compare value property", iRet); + rsParsDestruct(pPars); + ABORT_FINALIZE(iRet); + } + } + +finalize_it: + if(pPars != NULL) + rsParsDestruct(pPars); + if(pCSCompOp != NULL) + rsCStrDestruct(&pCSCompOp); + if(pCSPropName != NULL) + cstrDestruct(&pCSPropName); + RETiRet; +} + static void prifiltInvert(struct funcData_prifilt *prifilt) { @@ -1091,7 +1192,11 @@ var2Number(struct var *r, int *bSuccess) n = es_str2num(r->d.estr, bSuccess); } else { if(r->datatype == 'J') { +#ifdef HAVE_JSON_OBJECT_NEW_INT64 + n = (r->d.json == NULL) ? 0 : json_object_get_int64(r->d.json); +#else /* HAVE_JSON_OBJECT_NEW_INT64 */ n = (r->d.json == NULL) ? 0 : json_object_get_int(r->d.json); +#endif /* HAVE_JSON_OBJECT_NEW_INT64 */ } else { n = r->d.n; } @@ -1142,6 +1247,23 @@ var2CString(struct var *r, int *bMustFree) return cstr; } +/* frees struct var members, but not the struct itself. This is because + * it usually is allocated on the stack. Callers why dynamically allocate + * struct var need to free the struct themselfes! + */ +static void +varFreeMembers(struct var *r) +{ + /* Note: we do NOT need to free JSON objects, as we use + * json_object_object_get() to obtain the values, which does not + * increment the reference count. So json_object_put() [free] is + * neither required nor permitted (would free the original object!). + * So for the time being the string data type is the only one that + * we currently need to free. + */ + if(r->datatype == 'S') es_deleteStr(r->d.estr); +} + static rsRetVal doExtractFieldByChar(uchar *str, uchar delim, int matchnbr, uchar **resstr) { @@ -1309,9 +1431,9 @@ doFunc_re_extract(struct cnffunc *func, struct var *ret, void* usrptr) finalize_it: if(bMustFree) free(str); - if(r[0].datatype == 'S') es_deleteStr(r[0].d.estr); - if(r[2].datatype == 'S') es_deleteStr(r[2].d.estr); - if(r[3].datatype == 'S') es_deleteStr(r[3].d.estr); + varFreeMembers(&r[0]); + varFreeMembers(&r[2]); + varFreeMembers(&r[3]); if(bHadNoMatch) { cnfexprEval(func->expr[4], &r[4], usrptr); @@ -1327,6 +1449,33 @@ finalize_it: } +/* note that we do not need to evaluate any parameters, as the template pointer + * is set during initialization(). + * TODO: think if we can keep our buffer; but that may not be trival thinking about + * multiple threads. + */ +static void +doFunc_exec_template(struct cnffunc *__restrict__ const func, + struct var *__restrict__ const ret, + msg_t *const pMsg) +{ + rsRetVal localRet; + uchar *pBuf = NULL; + size_t lenBuf = 0; + + localRet = tplToString(func->funcdata, pMsg, &pBuf, &lenBuf, NULL); + if(localRet == RS_RET_OK) { + ret->d.estr = es_newStrFromCStr((char*)pBuf, ustrlen(pBuf)); + } else { + ret->d.estr = es_newStrFromCStr("", 0); + } + ret->datatype = 'S'; + free(pBuf); + + return; +} + + /* Perform a function call. This has been moved out of cnfExprEval in order * to keep the code small and easier to maintain. */ @@ -1380,7 +1529,7 @@ doFuncCall(struct cnffunc *func, struct var *ret, void* usrptr) } ret->datatype = 'S'; if(bMustFree) es_deleteStr(estr); - if(r[0].datatype == 'S') es_deleteStr(r[0].d.estr); + varFreeMembers(&r[0]); free(str); break; case CNFFUNC_TOLOWER: @@ -1391,7 +1540,7 @@ doFuncCall(struct cnffunc *func, struct var *ret, void* usrptr) es_tolower(estr); ret->datatype = 'S'; ret->d.estr = estr; - if(r[0].datatype == 'S') es_deleteStr(r[0].d.estr); + varFreeMembers(&r[0]); break; case CNFFUNC_CSTR: cnfexprEval(func->expr[0], &r[0], usrptr); @@ -1400,7 +1549,7 @@ doFuncCall(struct cnffunc *func, struct var *ret, void* usrptr) estr = es_strdup(estr); ret->datatype = 'S'; ret->d.estr = estr; - if(r[0].datatype == 'S') es_deleteStr(r[0].d.estr); + varFreeMembers(&r[0]); break; case CNFFUNC_CNUM: if(func->expr[0]->nodetype == 'N') { @@ -1411,7 +1560,7 @@ doFuncCall(struct cnffunc *func, struct var *ret, void* usrptr) } else { cnfexprEval(func->expr[0], &r[0], usrptr); ret->d.n = var2Number(&r[0], NULL); - if(r[0].datatype == 'S') es_deleteStr(r[0].d.estr); + varFreeMembers(&r[0]); } ret->datatype = 'N'; break; @@ -1429,11 +1578,14 @@ doFuncCall(struct cnffunc *func, struct var *ret, void* usrptr) } ret->datatype = 'N'; if(bMustFree) free(str); - if(r[0].datatype == 'S') es_deleteStr(r[0].d.estr); + varFreeMembers(&r[0]); break; case CNFFUNC_RE_EXTRACT: doFunc_re_extract(func, ret, usrptr); break; + case CNFFUNC_EXEC_TEMPLATE: + doFunc_exec_template(func, ret, (msg_t*) usrptr); + break; case CNFFUNC_FIELD: cnfexprEval(func->expr[0], &r[0], usrptr); cnfexprEval(func->expr[1], &r[1], usrptr); @@ -1462,9 +1614,9 @@ doFuncCall(struct cnffunc *func, struct var *ret, void* usrptr) } ret->datatype = 'S'; if(bMustFree) free(str); - if(r[0].datatype == 'S') es_deleteStr(r[0].d.estr); - if(r[1].datatype == 'S') es_deleteStr(r[1].d.estr); - if(r[2].datatype == 'S') es_deleteStr(r[2].d.estr); + varFreeMembers(&r[0]); + varFreeMembers(&r[1]); + varFreeMembers(&r[2]); break; case CNFFUNC_PRIFILT: pPrifilt = (struct funcData_prifilt*) func->funcdata; @@ -1476,6 +1628,19 @@ doFuncCall(struct cnffunc *func, struct var *ret, void* usrptr) ret->d.n = 1; ret->datatype = 'N'; break; + case CNFFUNC_LOOKUP: +dbgprintf("DDDD: executing lookup\n"); + ret->datatype = 'S'; + if(func->funcdata == NULL) { + ret->d.estr = es_newStrFromCStr("TABLE-NOT-FOUND", sizeof("TABLE-NOT-FOUND")-1); + break; + } + cnfexprEval(func->expr[1], &r[1], usrptr); + str = (char*) var2CString(&r[1], &bMustFree); + ret->d.estr = lookupKey_estr(func->funcdata, (uchar*)str); + if(bMustFree) free(str); + if(r[1].datatype == 'S') es_deleteStr(r[1].d.estr); + break; default: if(Debug) { fname = es_str2cstr(func->fname, NULL); @@ -1491,20 +1656,28 @@ doFuncCall(struct cnffunc *func, struct var *ret, void* usrptr) static inline void evalVar(struct cnfvar *var, void *usrptr, struct var *ret) { + rs_size_t propLen; + uchar *pszProp = NULL; + unsigned short bMustBeFreed = 0; rsRetVal localRet; - es_str_t *estr; struct json_object *json; - if(var->name[0] == '$' && var->name[1] == '!') { - /* TODO: unify string libs */ - estr = es_newStrFromBuf(var->name+1, strlen(var->name)-1); - localRet = msgGetCEEPropJSON((msg_t*)usrptr, estr, &json); - es_deleteStr(estr); + if(var->prop.id == PROP_CEE || + var->prop.id == PROP_LOCAL_VAR || + var->prop.id == PROP_GLOBAL_VAR ) { + localRet = msgGetJSONPropJSON((msg_t*)usrptr, &var->prop, &json); ret->datatype = 'J'; ret->d.json = (localRet == RS_RET_OK) ? json : NULL; + + DBGPRINTF("rainerscript: var %d:%s: '%s'\n", var->prop.id, var->prop.name, + (ret->d.json == NULL) ? "" : json_object_get_string(ret->d.json)); } else { ret->datatype = 'S'; - ret->d.estr = cnfGetVar(var->name, usrptr); + pszProp = (uchar*) MsgGetProp((msg_t*)usrptr, NULL, &var->prop, &propLen, &bMustBeFreed, NULL); + ret->d.estr = es_newStrFromCStr((char*)pszProp, propLen); + DBGPRINTF("rainerscript: var %d: '%s'\n", var->prop.id, pszProp); + if(bMustBeFreed) + free(pszProp); } } @@ -1550,8 +1723,8 @@ evalStrArrayCmp(es_str_t *estr_l, struct cnfarray* ar, int cmpop) } #define FREE_BOTH_RET \ - if(r.datatype == 'S') es_deleteStr(r.d.estr); \ - if(l.datatype == 'S') es_deleteStr(l.d.estr) + varFreeMembers(&r); \ + varFreeMembers(&l) #define COMP_NUM_BINOP(x) \ cnfexprEval(expr->l, &l, usrptr); \ @@ -1578,9 +1751,9 @@ evalStrArrayCmp(es_str_t *estr_l, struct cnfarray* ar, int cmpop) #define FREE_TWO_STRINGS \ if(bMustFree) es_deleteStr(estr_r); \ - if(expr->r->nodetype != 'S' && expr->r->nodetype != 'A' && r.datatype == 'S') es_deleteStr(r.d.estr); \ + if(expr->r->nodetype != 'S' && expr->r->nodetype != 'A') varFreeMembers(&r); \ if(bMustFree2) es_deleteStr(estr_l); \ - if(l.datatype == 'S') es_deleteStr(l.d.estr) + varFreeMembers(&l) /* evaluate an expression. * Note that we try to avoid malloc whenever possible (because of @@ -1593,7 +1766,7 @@ evalStrArrayCmp(es_str_t *estr_l, struct cnfarray* ar, int cmpop) * simply is no case where full evaluation would make any sense at all. */ void -cnfexprEval(struct cnfexpr *expr, struct var *ret, void* usrptr) +cnfexprEval(const struct cnfexpr *const expr, struct var *ret, void* usrptr) { struct var r, l; /* memory for subexpression results */ es_str_t *estr_r, *estr_l; @@ -1601,7 +1774,7 @@ cnfexprEval(struct cnfexpr *expr, struct var *ret, void* usrptr) int bMustFree, bMustFree2; long long n_r, n_l; - dbgprintf("eval expr %p, type '%s'\n", expr, tokenToString(expr->nodetype)); + DBGPRINTF("eval expr %p, type '%s'\n", expr, tokenToString(expr->nodetype)); switch(expr->nodetype) { /* note: comparison operations are extremely similar. The code can be copyied, only * places flagged with "CMP" need to be changed. @@ -1631,7 +1804,7 @@ cnfexprEval(struct cnfexpr *expr, struct var *ret, void* usrptr) if(bMustFree) es_deleteStr(estr_r); } } - if(r.datatype == 'S') es_deleteStr(r.d.estr); + varFreeMembers(&r); } } else if(l.datatype == 'J') { estr_l = var2String(&l, &bMustFree); @@ -1648,12 +1821,12 @@ cnfexprEval(struct cnfexpr *expr, struct var *ret, void* usrptr) if(convok_l) { ret->d.n = (n_l == r.d.n); /*CMP*/ } else { - estr_r = var2String(&r, &bMustFree); + estr_r = var2String(&r, &bMustFree2); ret->d.n = !es_strcmp(estr_l, estr_r); /*CMP*/ - if(bMustFree) es_deleteStr(estr_r); + if(bMustFree2) es_deleteStr(estr_r); } } - if(r.datatype == 'S') es_deleteStr(r.d.estr); + varFreeMembers(&r); } if(bMustFree) es_deleteStr(estr_l); } else { @@ -1670,9 +1843,9 @@ cnfexprEval(struct cnfexpr *expr, struct var *ret, void* usrptr) } else { ret->d.n = (l.d.n == r.d.n); /*CMP*/ } - if(r.datatype == 'S') es_deleteStr(r.d.estr); + varFreeMembers(&r); } - if(l.datatype == 'S') es_deleteStr(l.d.estr); + varFreeMembers(&l); break; case CMP_NE: cnfexprEval(expr->l, &l, usrptr); @@ -1697,6 +1870,21 @@ cnfexprEval(struct cnfexpr *expr, struct var *ret, void* usrptr) } } } + } else if(l.datatype == 'J') { + estr_l = var2String(&l, &bMustFree); + if(r.datatype == 'S') { + ret->d.n = es_strcmp(estr_l, r.d.estr); /*CMP*/ + } else { + n_l = var2Number(&l, &convok_l); + if(convok_l) { + ret->d.n = (n_l != r.d.n); /*CMP*/ + } else { + estr_r = var2String(&r, &bMustFree2); + ret->d.n = es_strcmp(estr_l, estr_r); /*CMP*/ + if(bMustFree2) es_deleteStr(estr_r); + } + } + if(bMustFree) es_deleteStr(estr_l); } else { if(r.datatype == 'S') { n_r = var2Number(&r, &convok_r); @@ -1730,6 +1918,21 @@ cnfexprEval(struct cnfexpr *expr, struct var *ret, void* usrptr) if(bMustFree) es_deleteStr(estr_r); } } + } else if(l.datatype == 'J') { + estr_l = var2String(&l, &bMustFree); + if(r.datatype == 'S') { + ret->d.n = es_strcmp(estr_l, r.d.estr) <= 0; /*CMP*/ + } else { + n_l = var2Number(&l, &convok_l); + if(convok_l) { + ret->d.n = (n_l <= r.d.n); /*CMP*/ + } else { + estr_r = var2String(&r, &bMustFree2); + ret->d.n = es_strcmp(estr_l, estr_r) <= 0; /*CMP*/ + if(bMustFree2) es_deleteStr(estr_r); + } + } + if(bMustFree) es_deleteStr(estr_l); } else { if(r.datatype == 'S') { n_r = var2Number(&r, &convok_r); @@ -1763,6 +1966,21 @@ cnfexprEval(struct cnfexpr *expr, struct var *ret, void* usrptr) if(bMustFree) es_deleteStr(estr_r); } } + } else if(l.datatype == 'J') { + estr_l = var2String(&l, &bMustFree); + if(r.datatype == 'S') { + ret->d.n = es_strcmp(estr_l, r.d.estr) >= 0; /*CMP*/ + } else { + n_l = var2Number(&l, &convok_l); + if(convok_l) { + ret->d.n = (n_l >= r.d.n); /*CMP*/ + } else { + estr_r = var2String(&r, &bMustFree2); + ret->d.n = es_strcmp(estr_l, estr_r) >= 0; /*CMP*/ + if(bMustFree2) es_deleteStr(estr_r); + } + } + if(bMustFree) es_deleteStr(estr_l); } else { if(r.datatype == 'S') { n_r = var2Number(&r, &convok_r); @@ -1796,6 +2014,21 @@ cnfexprEval(struct cnfexpr *expr, struct var *ret, void* usrptr) if(bMustFree) es_deleteStr(estr_r); } } + } else if(l.datatype == 'J') { + estr_l = var2String(&l, &bMustFree); + if(r.datatype == 'S') { + ret->d.n = es_strcmp(estr_l, r.d.estr) < 0; /*CMP*/ + } else { + n_l = var2Number(&l, &convok_l); + if(convok_l) { + ret->d.n = (n_l < r.d.n); /*CMP*/ + } else { + estr_r = var2String(&r, &bMustFree2); + ret->d.n = es_strcmp(estr_l, estr_r) < 0; /*CMP*/ + if(bMustFree2) es_deleteStr(estr_r); + } + } + if(bMustFree) es_deleteStr(estr_l); } else { if(r.datatype == 'S') { n_r = var2Number(&r, &convok_r); @@ -1829,6 +2062,21 @@ cnfexprEval(struct cnfexpr *expr, struct var *ret, void* usrptr) if(bMustFree) es_deleteStr(estr_r); } } + } else if(l.datatype == 'J') { + estr_l = var2String(&l, &bMustFree); + if(r.datatype == 'S') { + ret->d.n = es_strcmp(estr_l, r.d.estr) > 0; /*CMP*/ + } else { + n_l = var2Number(&l, &convok_l); + if(convok_l) { + ret->d.n = (n_l > r.d.n); /*CMP*/ + } else { + estr_r = var2String(&r, &bMustFree2); + ret->d.n = es_strcmp(estr_l, estr_r) > 0; /*CMP*/ + if(bMustFree2) es_deleteStr(estr_r); + } + } + if(bMustFree) es_deleteStr(estr_l); } else { if(r.datatype == 'S') { n_r = var2Number(&r, &convok_r); @@ -1900,9 +2148,9 @@ cnfexprEval(struct cnfexpr *expr, struct var *ret, void* usrptr) ret->d.n = 1ll; else ret->d.n = 0ll; - if(r.datatype == 'S') es_deleteStr(r.d.estr); + varFreeMembers(&r); } - if(l.datatype == 'S') es_deleteStr(l.d.estr); + varFreeMembers(&l); break; case AND: cnfexprEval(expr->l, &l, usrptr); @@ -1913,17 +2161,17 @@ cnfexprEval(struct cnfexpr *expr, struct var *ret, void* usrptr) ret->d.n = 1ll; else ret->d.n = 0ll; - if(r.datatype == 'S') es_deleteStr(r.d.estr); + varFreeMembers(&r); } else { ret->d.n = 0ll; } - if(l.datatype == 'S') es_deleteStr(l.d.estr); + varFreeMembers(&l); break; case NOT: cnfexprEval(expr->r, &r, usrptr); ret->datatype = 'N'; ret->d.n = !var2Number(&r, &convok_r); - if(r.datatype == 'S') es_deleteStr(r.d.estr); + varFreeMembers(&r); break; case 'N': ret->datatype = 'N'; @@ -1974,7 +2222,7 @@ cnfexprEval(struct cnfexpr *expr, struct var *ret, void* usrptr) cnfexprEval(expr->r, &r, usrptr); ret->datatype = 'N'; ret->d.n = -var2Number(&r, &convok_r); - if(r.datatype == 'S') es_deleteStr(r.d.estr); + varFreeMembers(&r); break; case 'F': doFuncCall((struct cnffunc*) expr, ret, usrptr); @@ -1986,6 +2234,7 @@ cnfexprEval(struct cnfexpr *expr, struct var *ret, void* usrptr) (unsigned) expr->nodetype, (char) expr->nodetype); break; } + DBGPRINTF("eval expr %p, return datatype '%c'\n", expr, ret->datatype); } //--------------------------------------------------------- @@ -2017,7 +2266,8 @@ cnffuncDestruct(struct cnffunc *func) break; default:break; } - free(func->funcdata); + if(func->fID != CNFFUNC_EXEC_TEMPLATE) + free(func->funcdata); free(func->fname); } @@ -2067,6 +2317,7 @@ cnfexprDestruct(struct cnfexpr *expr) break; case 'V': free(((struct cnfvar*)expr)->name); + msgPropDescrDestruct(&(((struct cnfvar*)expr)->prop)); break; case 'F': cnffuncDestruct((struct cnffunc*)expr); @@ -2325,12 +2576,12 @@ cnfstmtPrintOnly(struct cnfstmt *stmt, int indent, sbool subtree) case S_PROPFILT: doIndent(indent); dbgprintf("PROPFILT\n"); doIndent(indent); dbgprintf("\tProperty.: '%s'\n", - propIDToName(stmt->d.s_propfilt.propID)); - if(stmt->d.s_propfilt.propName != NULL) { - cstr = es_str2cstr(stmt->d.s_propfilt.propName, NULL); + propIDToName(stmt->d.s_propfilt.prop.id)); + if(stmt->d.s_propfilt.prop.id == PROP_CEE || + stmt->d.s_propfilt.prop.id == PROP_LOCAL_VAR || + stmt->d.s_propfilt.prop.id == PROP_GLOBAL_VAR) { doIndent(indent); - dbgprintf("\tCEE-Prop.: '%s'\n", cstr); - free(cstr); + dbgprintf("\tCEE-Prop.: '%s'\n", stmt->d.s_propfilt.prop.name); } doIndent(indent); dbgprintf("\tOperation: "); if(stmt->d.s_propfilt.isNegated) @@ -2437,6 +2688,7 @@ cnfvarNew(char *name) if((var = malloc(sizeof(struct cnfvar))) != NULL) { var->nodetype = 'V'; var->name = name; + msgPropDescrFill(&var->prop, (uchar*)var->name, strlen(var->name)); } return var; } @@ -2490,8 +2742,7 @@ cnfstmtDestruct(struct cnfstmt *stmt) cnfstmtDestructLst(stmt->d.s_prifilt.t_else); break; case S_PROPFILT: - if(stmt->d.s_propfilt.propName != NULL) - es_deleteStr(stmt->d.s_propfilt.propName); + msgPropDescrDestruct(&stmt->d.s_propfilt.prop); if(stmt->d.s_propfilt.regex_cache != NULL) rsCStrRegexDestruct(&stmt->d.s_propfilt.regex_cache); if(stmt->d.s_propfilt.pCSCompValue != NULL) @@ -2576,11 +2827,11 @@ cnfstmtNewPROPFILT(char *propfilt, struct cnfstmt *t_then) if((cnfstmt = cnfstmtNew(S_PROPFILT)) != NULL) { cnfstmt->printable = (uchar*)propfilt; cnfstmt->d.s_propfilt.t_then = t_then; - cnfstmt->d.s_propfilt.propName = NULL; cnfstmt->d.s_propfilt.regex_cache = NULL; cnfstmt->d.s_propfilt.pCSCompValue = NULL; if(DecodePropFilter((uchar*)propfilt, cnfstmt) != RS_RET_OK) { cnfstmt->nodetype = S_NOP; /* disable action! */ + cnfstmtDestructLst(t_then); /* we do no longer need this */ } } return cnfstmt; @@ -2740,7 +2991,7 @@ cnfexprOptimize_CMP_severity_facility(struct cnfexpr *expr) if(expr->l->nodetype != 'V') FINALIZE; - if(!strcmp("$syslogseverity", ((struct cnfvar*)expr->l)->name)) { + if(!strcmp("syslogseverity", ((struct cnfvar*)expr->l)->name)) { if(expr->r->nodetype == 'N') { int sev = (int) ((struct cnfnumval*)expr->r)->val; if(sev >= 0 && sev <= 7) { @@ -2754,7 +3005,7 @@ cnfexprOptimize_CMP_severity_facility(struct cnfexpr *expr) "evaluate to FALSE", sev); } } - } else if(!strcmp("$syslogfacility", ((struct cnfvar*)expr->l)->name)) { + } else if(!strcmp("syslogfacility", ((struct cnfvar*)expr->l)->name)) { if(expr->r->nodetype == 'N') { int fac = (int) ((struct cnfnumval*)expr->r)->val; if(fac >= 0 && fac <= 24) { @@ -2782,7 +3033,7 @@ cnfexprOptimize_CMP_var(struct cnfexpr *expr) { struct cnffunc *func; - if(!strcmp("$syslogfacility-text", ((struct cnfvar*)expr->l)->name)) { + if(!strcmp("syslogfacility-text", ((struct cnfvar*)expr->l)->name)) { if(expr->r->nodetype == 'S') { char *cstr = es_str2cstr(((struct cnfstringval*)expr->r)->estr, NULL); int fac = decodeSyslogName((uchar*)cstr, syslogFacNames); @@ -2800,7 +3051,7 @@ cnfexprOptimize_CMP_var(struct cnfexpr *expr) } free(cstr); } - } else if(!strcmp("$syslogseverity-text", ((struct cnfvar*)expr->l)->name)) { + } else if(!strcmp("syslogseverity-text", ((struct cnfvar*)expr->l)->name)) { if(expr->r->nodetype == 'S') { char *cstr = es_str2cstr(((struct cnfstringval*)expr->r)->estr, NULL); int sev = decodeSyslogName((uchar*)cstr, syslogPriNames); @@ -3247,6 +3498,13 @@ funcName2ID(es_str_t *fname, unsigned short nParams) return CNFFUNC_INVALID; } return CNFFUNC_FIELD; + } else if(!es_strbufcmp(fname, (unsigned char*)"exec_template", sizeof("exec_template") - 1)) { + if(nParams != 1) { + parser_errmsg("number of parameters for exec-template() must be one " + "but is %d.", nParams); + return CNFFUNC_INVALID; + } + return CNFFUNC_EXEC_TEMPLATE; } else if(!es_strbufcmp(fname, (unsigned char*)"prifilt", sizeof("prifilt") - 1)) { if(nParams != 1) { parser_errmsg("number of parameters for prifilt() must be one " @@ -3254,6 +3512,13 @@ funcName2ID(es_str_t *fname, unsigned short nParams) return CNFFUNC_INVALID; } return CNFFUNC_PRIFILT; + } else if(!es_strbufcmp(fname, (unsigned char*)"lookup", sizeof("lookup") - 1)) { + if(nParams != 2) { + parser_errmsg("number of parameters for lookup() must be two " + "but is %d.", nParams); + return CNFFUNC_INVALID; + } + return CNFFUNC_LOOKUP; } else { return CNFFUNC_INVALID; } @@ -3295,6 +3560,31 @@ finalize_it: } +static rsRetVal +initFunc_exec_template(struct cnffunc *func) +{ + char *tplName = NULL; + DEFiRet; + + if(func->expr[0]->nodetype != 'S') { + parser_errmsg("exec_template(): param 1 must be a constant string"); + FINALIZE; + } + + tplName = es_str2cstr(((struct cnfstringval*) func->expr[0])->estr, NULL); + func->funcdata = tplFind(ourConf, tplName, strlen(tplName)); + if(func->funcdata == NULL) { + parser_errmsg("exec_template(): template '%s' could not be found", tplName); + FINALIZE; + } + + +finalize_it: + free(tplName); + RETiRet; +} + + static inline rsRetVal initFunc_prifilt(struct cnffunc *func) { @@ -3318,6 +3608,30 @@ finalize_it: } +static inline rsRetVal +initFunc_lookup(struct cnffunc *func) +{ + uchar *cstr = NULL; + DEFiRet; + + func->funcdata = NULL; + if(func->expr[0]->nodetype != 'S') { + parser_errmsg("table name (param 1) of lookup() must be a constant string"); + FINALIZE; + } + + cstr = (uchar*)es_str2cstr(((struct cnfstringval*) func->expr[0])->estr, NULL); + if((func->funcdata = lookupFindTable(cstr)) == NULL) { + parser_errmsg("lookup table '%s' not found", cstr); + FINALIZE; + } + +finalize_it: + free(cstr); + RETiRet; +} + + struct cnffunc * cnffuncNew(es_str_t *fname, struct cnffparamlst* paramlst) { @@ -3355,6 +3669,12 @@ cnffuncNew(es_str_t *fname, struct cnffparamlst* paramlst) case CNFFUNC_PRIFILT: initFunc_prifilt(func); break; + case CNFFUNC_LOOKUP: + initFunc_lookup(func); + break; + case CNFFUNC_EXEC_TEMPLATE: + initFunc_exec_template(func); + break; default:break; } } diff --git a/grammar/rainerscript.h b/grammar/rainerscript.h index 0657330..4a1715e 100644 --- a/grammar/rainerscript.h +++ b/grammar/rainerscript.h @@ -7,7 +7,6 @@ #include <regex.h> #include "typedefs.h" - #define LOG_NFACILITIES 24 /* current number of syslog facilities */ #define CNFFUNC_MAX_ARGS 32 /**< maximum number of arguments that any function can have (among @@ -25,6 +24,8 @@ enum cnfobjType { CNFOBJ_TPL, CNFOBJ_PROPERTY, CNFOBJ_CONSTANT, + CNFOBJ_MAINQ, + CNFOBJ_LOOKUP_TABLE, CNFOBJ_INVALID = 0 }; @@ -56,6 +57,11 @@ cnfobjType2str(enum cnfobjType ot) case CNFOBJ_CONSTANT: return "constant"; break; + case CNFOBJ_MAINQ: + return "main_queue"; + case CNFOBJ_LOOKUP_TABLE: + return "lookup_table"; + break; default:return "error: invalid cnfobjType"; } } @@ -177,8 +183,7 @@ struct cnfstmt { regex_t *regex_cache;/* cache for compiled REs, if used */ struct cstr_s *pCSCompValue;/* value to "compare" against */ sbool isNegated; - uintTiny propID;/* ID of the requested property */ - es_str_t *propName;/* name of property for CEE-based filters */ + msgPropDescr_t prop; /* requested property */ struct cnfstmt *t_then; struct cnfstmt *t_else; } s_propfilt; @@ -205,6 +210,7 @@ struct cnfstringval { struct cnfvar { unsigned nodetype; char *name; + msgPropDescr_t prop; }; struct cnfarray { @@ -230,7 +236,9 @@ enum cnffuncid { CNFFUNC_RE_MATCH, CNFFUNC_RE_EXTRACT, CNFFUNC_FIELD, - CNFFUNC_PRIFILT + CNFFUNC_PRIFILT, + CNFFUNC_LOOKUP, + CNFFUNC_EXEC_TEMPLATE }; struct cnffunc { @@ -303,7 +311,7 @@ void cnfobjDestruct(struct cnfobj *o); void cnfobjPrint(struct cnfobj *o); struct cnfexpr* cnfexprNew(unsigned nodetype, struct cnfexpr *l, struct cnfexpr *r); void cnfexprPrint(struct cnfexpr *expr, int indent); -void cnfexprEval(struct cnfexpr *expr, struct var *ret, void *pusr); +void cnfexprEval(const struct cnfexpr *const expr, struct var *ret, void *pusr); int cnfexprEvalBool(struct cnfexpr *expr, void *usrptr); void cnfexprDestruct(struct cnfexpr *expr); struct cnfnumval* cnfnumvalNew(long long val); |
