summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2014-04-17 17:07:23 +0300
committerDaniel Zaoui <daniel.zaoui@samsung.com>2014-04-18 09:05:20 +0300
commit438452d67e360c1860a72a65c6fbd7daf1a2e845 (patch)
tree0bef3f8c83dd83617ab9865aac802691af254816
parent7ec6a9afeebf965f82b86e4c3de1ef01695ccbd4 (diff)
Eolian/Lexer: fix when function name is composed of only one letter.
-rw-r--r--src/lib/eolian/eo_lexer.c170
-rw-r--r--src/lib/eolian/eo_lexer.rl2
2 files changed, 88 insertions, 84 deletions
diff --git a/src/lib/eolian/eo_lexer.c b/src/lib/eolian/eo_lexer.c
index f67e30e..2a29144 100644
--- a/src/lib/eolian/eo_lexer.c
+++ b/src/lib/eolian/eo_lexer.c
@@ -431,12 +431,12 @@ static const short _eo_tokenizer_key_offsets[] = {
431 386, 390, 391, 392, 402, 404, 407, 409, 431 386, 390, 391, 392, 402, 404, 407, 409,
432 412, 413, 414, 418, 419, 420, 424, 425, 432 412, 413, 414, 418, 419, 420, 424, 425,
433 429, 430, 431, 432, 433, 437, 439, 442, 433 429, 430, 431, 432, 433, 437, 439, 442,
434 443, 457, 461, 472, 483, 486, 488, 491, 434 443, 447, 458, 469, 483, 486, 488, 491,
435 502, 504, 507, 508, 509, 510, 511, 512, 435 502, 504, 507, 508, 509, 510, 511, 512,
436 513, 514, 515, 516, 519, 526, 534, 535, 436 513, 514, 515, 516, 519, 526, 534, 535,
437 536, 537, 538, 542, 543, 544, 545, 546, 437 536, 537, 538, 542, 543, 544, 545, 546,
438 549, 556, 572, 589, 593, 594, 595, 605, 438 549, 556, 572, 589, 593, 594, 595, 605,
439 607, 610, 612, 615, 616, 630, 634, 645, 439 607, 610, 612, 615, 616, 620, 631, 642,
440 656, 659, 661, 664, 675, 677, 680, 681, 440 656, 659, 661, 664, 675, 677, 680, 681,
441 682, 683, 684, 685, 686, 687, 688, 689, 441 682, 683, 684, 685, 686, 687, 688, 689,
442 690, 691, 695, 696, 697, 701, 708, 716, 442 690, 691, 695, 696, 697, 701, 708, 716,
@@ -460,11 +460,11 @@ static const short _eo_tokenizer_key_offsets[] = {
460 1209, 1212, 1214, 1225, 1237, 1249, 1253, 1253, 460 1209, 1212, 1214, 1225, 1237, 1249, 1253, 1253,
461 1254, 1263, 1266, 1268, 1281, 1285, 1285, 1286, 461 1254, 1263, 1266, 1268, 1281, 1285, 1285, 1286,
462 1295, 1298, 1300, 1301, 1302, 1303, 1304, 1305, 462 1295, 1298, 1300, 1301, 1302, 1303, 1304, 1305,
463 1316, 1319, 1321, 1328, 1329, 1338, 1341, 1343, 463 1316, 1319, 1321, 1335, 1336, 1345, 1348, 1350,
464 1344, 1345, 1346, 1347, 1351, 1351, 1352, 1363, 464 1351, 1352, 1353, 1354, 1358, 1358, 1359, 1370,
465 1366, 1368, 1375, 1376, 1388, 1391, 1393, 1394, 465 1373, 1375, 1389, 1390, 1402, 1405, 1407, 1408,
466 1396, 1399, 1401, 1404, 1405, 1406, 1407, 1408, 466 1410, 1413, 1415, 1418, 1419, 1420, 1421, 1422,
467 1411, 1412, 1413 467 1425, 1426, 1427
468}; 468};
469 469
470static const char _eo_tokenizer_trans_keys[] = { 470static const char _eo_tokenizer_trans_keys[] = {
@@ -523,11 +523,11 @@ static const char _eo_tokenizer_trans_keys[] = {
523 0, 32, 121, 115, 10, 123, 0, 32, 523 0, 32, 121, 115, 10, 123, 0, 32,
524 116, 10, 123, 0, 32, 108, 117, 101, 524 116, 10, 123, 0, 32, 108, 117, 101,
525 115, 10, 123, 0, 32, 10, 42, 10, 525 115, 10, 123, 0, 32, 10, 42, 10,
526 42, 47, 10, 9, 10, 13, 32, 95, 526 42, 47, 10, 10, 123, 0, 32, 10,
527 123, 0, 31, 48, 57, 65, 90, 97, 527 95, 123, 0, 32, 48, 57, 65, 90,
528 122, 10, 123, 0, 32, 10, 95, 123, 528 97, 122, 10, 95, 123, 0, 32, 48,
529 0, 32, 48, 57, 65, 90, 97, 122, 529 57, 65, 90, 97, 122, 9, 10, 13,
530 10, 95, 123, 0, 32, 48, 57, 65, 530 32, 95, 123, 0, 31, 48, 57, 65,
531 90, 97, 122, 10, 42, 64, 10, 42, 531 90, 97, 122, 10, 42, 64, 10, 42,
532 10, 42, 47, 10, 42, 95, 0, 32, 532 10, 42, 47, 10, 42, 95, 0, 32,
533 48, 57, 64, 90, 97, 122, 10, 42, 533 48, 57, 64, 90, 97, 122, 10, 42,
@@ -545,11 +545,11 @@ static const char _eo_tokenizer_trans_keys[] = {
545 47, 42, 64, 10, 95, 0, 32, 48, 545 47, 42, 64, 10, 95, 0, 32, 48,
546 57, 64, 90, 97, 122, 10, 42, 10, 546 57, 64, 90, 97, 122, 10, 42, 10,
547 42, 47, 10, 42, 10, 42, 47, 10, 547 42, 47, 10, 42, 10, 42, 47, 10,
548 9, 10, 13, 32, 95, 123, 0, 31, 548 10, 123, 0, 32, 10, 95, 123, 0,
549 48, 57, 65, 90, 97, 122, 10, 123, 549 32, 48, 57, 65, 90, 97, 122, 10,
550 0, 32, 10, 95, 123, 0, 32, 48, 550 95, 123, 0, 32, 48, 57, 65, 90,
551 57, 65, 90, 97, 122, 10, 95, 123, 551 97, 122, 9, 10, 13, 32, 95, 123,
552 0, 32, 48, 57, 65, 90, 97, 122, 552 0, 31, 48, 57, 65, 90, 97, 122,
553 10, 42, 64, 10, 42, 10, 42, 47, 553 10, 42, 64, 10, 42, 10, 42, 47,
554 10, 42, 95, 0, 32, 48, 57, 64, 554 10, 42, 95, 0, 32, 48, 57, 64,
555 90, 97, 122, 10, 42, 10, 42, 47, 555 90, 97, 122, 10, 42, 10, 42, 47,
@@ -633,18 +633,20 @@ static const char _eo_tokenizer_trans_keys[] = {
633 0, 32, 42, 47, 101, 101, 101, 97, 633 0, 32, 42, 47, 101, 101, 101, 97,
634 59, 10, 47, 125, 0, 32, 48, 57, 634 59, 10, 47, 125, 0, 32, 48, 57,
635 65, 90, 97, 122, 10, 0, 32, 42, 635 65, 90, 97, 122, 10, 0, 32, 42,
636 47, 95, 48, 57, 65, 90, 97, 122, 636 47, 9, 10, 13, 32, 95, 123, 0,
637 59, 10, 47, 99, 108, 112, 114, 125, 637 31, 48, 57, 65, 90, 97, 122, 59,
638 10, 47, 99, 108, 112, 114, 125, 0,
639 32, 10, 0, 32, 42, 47, 111, 101,
640 97, 101, 9, 13, 32, 47, 59, 10,
641 47, 125, 0, 32, 48, 57, 65, 90,
642 97, 122, 10, 0, 32, 42, 47, 9,
643 10, 13, 32, 95, 123, 0, 31, 48,
644 57, 65, 90, 97, 122, 59, 10, 47,
645 99, 100, 101, 105, 108, 109, 112, 125,
638 0, 32, 10, 0, 32, 42, 47, 111, 646 0, 32, 10, 0, 32, 42, 47, 111,
639 101, 97, 101, 9, 13, 32, 47, 59, 647 97, 101, 10, 0, 32, 111, 118, 10,
640 10, 47, 125, 0, 32, 48, 57, 65, 648 0, 32, 59, 109, 59, 101, 10, 0,
641 90, 97, 122, 10, 0, 32, 42, 47, 649 32, 101, 114, 59, 0
642 95, 48, 57, 65, 90, 97, 122, 59,
643 10, 47, 99, 100, 101, 105, 108, 109,
644 112, 125, 0, 32, 10, 0, 32, 42,
645 47, 111, 97, 101, 10, 0, 32, 111,
646 118, 10, 0, 32, 59, 109, 59, 101,
647 10, 0, 32, 101, 114, 59, 0
648}; 650};
649 651
650static const char _eo_tokenizer_single_lengths[] = { 652static const char _eo_tokenizer_single_lengths[] = {
@@ -660,12 +662,12 @@ static const char _eo_tokenizer_single_lengths[] = {
660 4, 1, 1, 2, 2, 3, 2, 3, 662 4, 1, 1, 2, 2, 3, 2, 3,
661 1, 1, 2, 1, 1, 2, 1, 2, 663 1, 1, 2, 1, 1, 2, 1, 2,
662 1, 1, 1, 1, 2, 2, 3, 1, 664 1, 1, 1, 1, 2, 2, 3, 1,
663 6, 2, 3, 3, 3, 2, 3, 3, 665 2, 3, 3, 6, 3, 2, 3, 3,
664 2, 3, 1, 1, 1, 1, 1, 1, 666 2, 3, 1, 1, 1, 1, 1, 1,
665 1, 1, 1, 3, 3, 2, 1, 1, 667 1, 1, 1, 3, 3, 2, 1, 1,
666 1, 1, 2, 1, 1, 1, 1, 3, 668 1, 1, 2, 1, 1, 1, 1, 3,
667 3, 6, 7, 4, 1, 1, 2, 2, 669 3, 6, 7, 4, 1, 1, 2, 2,
668 3, 2, 3, 1, 6, 2, 3, 3, 670 3, 2, 3, 1, 2, 3, 3, 6,
669 3, 2, 3, 3, 2, 3, 1, 1, 671 3, 2, 3, 3, 2, 3, 1, 1,
670 1, 1, 1, 1, 1, 1, 1, 1, 672 1, 1, 1, 1, 1, 1, 1, 1,
671 1, 2, 1, 1, 2, 1, 2, 1, 673 1, 2, 1, 1, 2, 1, 2, 1,
@@ -689,9 +691,9 @@ static const char _eo_tokenizer_single_lengths[] = {
689 1, 2, 5, 6, 6, 4, 0, 1, 691 1, 2, 5, 6, 6, 4, 0, 1,
690 3, 1, 2, 7, 4, 0, 1, 7, 692 3, 1, 2, 7, 4, 0, 1, 7,
691 1, 2, 1, 1, 1, 1, 1, 3, 693 1, 2, 1, 1, 1, 1, 1, 3,
692 1, 2, 1, 1, 7, 1, 2, 1, 694 1, 2, 6, 1, 7, 1, 2, 1,
693 1, 1, 1, 4, 0, 1, 3, 1, 695 1, 1, 1, 4, 0, 1, 3, 1,
694 2, 1, 1, 10, 1, 2, 1, 2, 696 2, 6, 1, 10, 1, 2, 1, 2,
695 1, 2, 1, 1, 1, 1, 1, 1, 697 1, 2, 1, 1, 1, 1, 1, 1,
696 1, 1, 1 698 1, 1, 1
697}; 699};
@@ -709,12 +711,12 @@ static const char _eo_tokenizer_range_lengths[] = {
709 0, 0, 0, 4, 0, 0, 0, 0, 711 0, 0, 0, 4, 0, 0, 0, 0,
710 0, 0, 1, 0, 0, 1, 0, 1, 712 0, 0, 1, 0, 0, 1, 0, 1,
711 0, 0, 0, 0, 1, 0, 0, 0, 713 0, 0, 0, 0, 1, 0, 0, 0,
712 4, 1, 4, 4, 0, 0, 0, 4, 714 1, 4, 4, 4, 0, 0, 0, 4,
713 0, 0, 0, 0, 0, 0, 0, 0, 715 0, 0, 0, 0, 0, 0, 0, 0,
714 0, 0, 0, 0, 2, 3, 0, 0, 716 0, 0, 0, 0, 2, 3, 0, 0,
715 0, 0, 1, 0, 0, 0, 0, 0, 717 0, 0, 1, 0, 0, 0, 0, 0,
716 2, 5, 5, 0, 0, 0, 4, 0, 718 2, 5, 5, 0, 0, 0, 4, 0,
717 0, 0, 0, 0, 4, 1, 4, 4, 719 0, 0, 0, 0, 1, 4, 4, 4,
718 0, 0, 0, 4, 0, 0, 0, 0, 720 0, 0, 0, 4, 0, 0, 0, 0,
719 0, 0, 0, 0, 0, 0, 0, 0, 721 0, 0, 0, 0, 0, 0, 0, 0,
720 0, 1, 0, 0, 1, 3, 3, 0, 722 0, 1, 0, 0, 1, 3, 3, 0,
@@ -738,9 +740,9 @@ static const char _eo_tokenizer_range_lengths[] = {
738 1, 0, 3, 3, 3, 0, 0, 0, 740 1, 0, 3, 3, 3, 0, 0, 0,
739 3, 1, 0, 3, 0, 0, 0, 1, 741 3, 1, 0, 3, 0, 0, 0, 1,
740 1, 0, 0, 0, 0, 0, 0, 4, 742 1, 0, 0, 0, 0, 0, 0, 4,
741 1, 0, 3, 0, 1, 1, 0, 0, 743 1, 0, 4, 0, 1, 1, 0, 0,
742 0, 0, 0, 0, 0, 0, 4, 1, 744 0, 0, 0, 0, 0, 0, 4, 1,
743 0, 3, 0, 1, 1, 0, 0, 0, 745 0, 4, 0, 1, 1, 0, 0, 0,
744 1, 0, 1, 0, 0, 0, 0, 1, 746 1, 0, 1, 0, 0, 0, 0, 1,
745 0, 0, 0 747 0, 0, 0
746}; 748};
@@ -758,12 +760,12 @@ static const short _eo_tokenizer_index_offsets[] = {
758 371, 376, 378, 380, 387, 390, 394, 397, 760 371, 376, 378, 380, 387, 390, 394, 397,
759 401, 403, 405, 409, 411, 413, 417, 419, 761 401, 403, 405, 409, 411, 413, 417, 419,
760 423, 425, 427, 429, 431, 435, 438, 442, 762 423, 425, 427, 429, 431, 435, 438, 442,
761 444, 455, 459, 467, 475, 479, 482, 486, 763 444, 448, 456, 464, 475, 479, 482, 486,
762 494, 497, 501, 503, 505, 507, 509, 511, 764 494, 497, 501, 503, 505, 507, 509, 511,
763 513, 515, 517, 519, 523, 529, 535, 537, 765 513, 515, 517, 519, 523, 529, 535, 537,
764 539, 541, 543, 547, 549, 551, 553, 555, 766 539, 541, 543, 547, 549, 551, 553, 555,
765 559, 565, 577, 590, 595, 597, 599, 606, 767 559, 565, 577, 590, 595, 597, 599, 606,
766 609, 613, 616, 620, 622, 633, 637, 645, 768 609, 613, 616, 620, 622, 626, 634, 642,
767 653, 657, 660, 664, 672, 675, 679, 681, 769 653, 657, 660, 664, 672, 675, 679, 681,
768 683, 685, 687, 689, 691, 693, 695, 697, 770 683, 685, 687, 689, 691, 693, 695, 697,
769 699, 701, 705, 707, 709, 713, 718, 724, 771 699, 701, 705, 707, 709, 713, 718, 724,
@@ -787,11 +789,11 @@ static const short _eo_tokenizer_index_offsets[] = {
787 1239, 1242, 1245, 1254, 1264, 1274, 1279, 1280, 789 1239, 1242, 1245, 1254, 1264, 1274, 1279, 1280,
788 1282, 1289, 1292, 1295, 1306, 1311, 1312, 1314, 790 1282, 1289, 1292, 1295, 1306, 1311, 1312, 1314,
789 1323, 1326, 1329, 1331, 1333, 1335, 1337, 1339, 791 1323, 1326, 1329, 1331, 1333, 1335, 1337, 1339,
790 1347, 1350, 1353, 1358, 1360, 1369, 1372, 1375, 792 1347, 1350, 1353, 1364, 1366, 1375, 1378, 1381,
791 1377, 1379, 1381, 1383, 1388, 1389, 1391, 1399, 793 1383, 1385, 1387, 1389, 1394, 1395, 1397, 1405,
792 1402, 1405, 1410, 1412, 1424, 1427, 1430, 1432, 794 1408, 1411, 1422, 1424, 1436, 1439, 1442, 1444,
793 1435, 1438, 1441, 1444, 1446, 1448, 1450, 1452, 795 1447, 1450, 1453, 1456, 1458, 1460, 1462, 1464,
794 1455, 1457, 1459 796 1467, 1469, 1471
795}; 797};
796 798
797static const short _eo_tokenizer_indicies[] = { 799static const short _eo_tokenizer_indicies[] = {
@@ -850,10 +852,10 @@ static const short _eo_tokenizer_indicies[] = {
850 127, 141, 127, 142, 143, 141, 127, 144, 852 127, 141, 127, 142, 143, 141, 127, 144,
851 127, 145, 127, 146, 127, 147, 127, 148, 853 127, 145, 127, 146, 127, 147, 127, 148,
852 149, 147, 127, 152, 153, 151, 152, 153, 854 149, 147, 127, 152, 153, 151, 152, 153,
853 154, 151, 156, 155, 158, 159, 158, 158, 855 154, 151, 156, 155, 158, 159, 157, 150,
854 160, 161, 157, 160, 160, 160, 150, 163, 856 158, 160, 159, 157, 160, 160, 160, 150,
855 164, 162, 150, 163, 165, 164, 162, 165, 857 162, 160, 163, 161, 160, 160, 160, 150,
856 165, 165, 150, 159, 165, 161, 157, 165, 858 164, 162, 164, 164, 165, 163, 161, 165,
857 165, 165, 150, 168, 169, 170, 167, 168, 859 165, 165, 150, 168, 169, 170, 167, 168,
858 169, 167, 168, 169, 171, 167, 172, 169, 860 169, 167, 168, 169, 171, 167, 172, 169,
859 173, 170, 173, 173, 173, 167, 175, 176, 861 173, 170, 173, 173, 173, 167, 175, 176,
@@ -873,10 +875,10 @@ static const short _eo_tokenizer_indicies[] = {
873 212, 210, 212, 212, 212, 206, 214, 215, 875 212, 210, 212, 212, 212, 206, 214, 215,
874 213, 214, 215, 216, 213, 219, 220, 218, 876 213, 214, 215, 216, 213, 219, 220, 218,
875 219, 220, 221, 218, 223, 222, 225, 226, 877 219, 220, 221, 218, 223, 222, 225, 226,
876 225, 225, 227, 228, 224, 227, 227, 227, 878 224, 217, 225, 227, 226, 224, 227, 227,
877 217, 230, 231, 229, 217, 230, 232, 231, 879 227, 217, 229, 227, 230, 228, 227, 227,
878 229, 232, 232, 232, 217, 226, 232, 228, 880 227, 217, 231, 229, 231, 231, 232, 230,
879 224, 232, 232, 232, 217, 235, 236, 237, 881 228, 232, 232, 232, 217, 235, 236, 237,
880 234, 235, 236, 234, 235, 236, 238, 234, 882 234, 235, 236, 234, 235, 236, 238, 234,
881 239, 236, 240, 237, 240, 240, 240, 234, 883 239, 236, 240, 237, 240, 240, 240, 234,
882 242, 243, 241, 242, 243, 244, 241, 246, 884 242, 243, 241, 242, 243, 244, 241, 246,
@@ -964,20 +966,22 @@ static const short _eo_tokenizer_indicies[] = {
964 527, 528, 527, 529, 527, 530, 527, 531, 966 527, 528, 527, 529, 527, 530, 527, 531,
965 527, 533, 532, 536, 537, 539, 535, 538, 967 527, 533, 532, 536, 537, 539, 535, 538,
966 538, 538, 534, 536, 535, 540, 151, 155, 968 538, 538, 534, 536, 535, 540, 151, 155,
967 541, 160, 160, 160, 160, 541, 543, 542, 969 541, 164, 162, 164, 164, 165, 163, 161,
968 546, 547, 548, 549, 550, 551, 552, 545, 970 165, 165, 165, 541, 543, 542, 546, 547,
969 544, 546, 545, 553, 555, 178, 554, 556, 971 548, 549, 550, 551, 552, 545, 544, 546,
970 554, 557, 554, 558, 554, 559, 554, 207, 972 545, 553, 555, 178, 554, 556, 554, 557,
971 207, 207, 208, 560, 561, 563, 562, 566, 973 554, 558, 554, 559, 554, 207, 207, 207,
972 567, 569, 565, 568, 568, 568, 564, 566, 974 208, 560, 561, 563, 562, 566, 567, 569,
973 565, 570, 218, 222, 571, 227, 227, 227, 975 565, 568, 568, 568, 564, 566, 565, 570,
974 227, 571, 573, 572, 576, 577, 578, 579, 976 218, 222, 571, 231, 229, 231, 231, 232,
975 580, 581, 582, 583, 584, 585, 575, 574, 977 230, 228, 232, 232, 232, 571, 573, 572,
976 576, 575, 586, 588, 245, 587, 589, 587, 978 576, 577, 578, 579, 580, 581, 582, 583,
977 590, 591, 587, 594, 593, 592, 595, 596, 979 584, 585, 575, 574, 576, 575, 586, 588,
978 587, 599, 598, 597, 601, 600, 602, 587, 980 245, 587, 589, 587, 590, 591, 587, 594,
979 604, 603, 605, 587, 608, 607, 606, 609, 981 593, 592, 595, 596, 587, 599, 598, 597,
980 587, 610, 587, 612, 611, 0 982 601, 600, 602, 587, 604, 603, 605, 587,
983 608, 607, 606, 609, 587, 610, 587, 612,
984 611, 0
981}; 985};
982 986
983static const short _eo_tokenizer_trans_targs[] = { 987static const short _eo_tokenizer_trans_targs[] = {
@@ -1000,8 +1004,8 @@ static const short _eo_tokenizer_trans_targs[] = {
1000 78, 78, 79, 319, 80, 319, 82, 82, 1004 78, 78, 79, 319, 80, 319, 82, 82,
1001 319, 84, 85, 85, 319, 87, 87, 319, 1005 319, 84, 85, 85, 319, 87, 87, 319,
1002 89, 90, 91, 92, 92, 319, 327, 93, 1006 89, 90, 91, 92, 92, 319, 327, 93,
1003 93, 94, 327, 95, 327, 97, 98, 97, 1007 93, 94, 327, 95, 327, 96, 96, 327,
1004 96, 327, 97, 97, 327, 99, 332, 101, 1008 98, 96, 96, 327, 97, 99, 332, 101,
1005 101, 102, 103, 332, 103, 104, 104, 104, 1009 101, 102, 103, 332, 103, 104, 104, 104,
1006 105, 332, 106, 332, 108, 109, 110, 332, 1010 105, 332, 106, 332, 108, 109, 110, 332,
1007 112, 113, 114, 115, 116, 117, 117, 332, 1011 112, 113, 114, 115, 116, 117, 117, 332,
@@ -1009,7 +1013,7 @@ static const short _eo_tokenizer_trans_targs[] = {
1009 126, 127, 128, 129, 130, 339, 332, 131, 1013 126, 127, 128, 129, 130, 339, 332, 131,
1010 132, 133, 134, 134, 135, 135, 135, 136, 1014 132, 133, 134, 134, 135, 135, 135, 136,
1011 340, 342, 137, 137, 138, 342, 139, 342, 1015 340, 342, 137, 137, 138, 342, 139, 342,
1012 141, 142, 141, 140, 342, 141, 141, 342, 1016 140, 140, 342, 142, 140, 140, 342, 141,
1013 143, 347, 145, 145, 146, 147, 347, 147, 1017 143, 347, 145, 145, 146, 147, 347, 147,
1014 148, 148, 148, 149, 347, 150, 347, 152, 1018 148, 148, 148, 149, 347, 150, 347, 152,
1015 153, 154, 155, 156, 157, 158, 159, 160, 1019 153, 154, 155, 156, 157, 158, 159, 160,
@@ -1080,8 +1084,8 @@ static const short _eo_tokenizer_trans_actions[] = {
1080 0, 1, 0, 97, 0, 229, 0, 1, 1084 0, 1, 0, 97, 0, 229, 0, 1,
1081 99, 0, 0, 1, 103, 0, 1, 101, 1085 99, 0, 0, 1, 103, 0, 1, 101,
1082 0, 0, 0, 0, 1, 105, 133, 0, 1086 0, 0, 0, 0, 1, 105, 133, 0,
1083 1, 0, 119, 0, 232, 7, 7, 262, 1087 1, 0, 119, 0, 232, 0, 1, 121,
1084 0, 265, 0, 1, 121, 0, 155, 0, 1088 0, 7, 262, 265, 7, 0, 155, 0,
1085 1, 0, 0, 137, 1, 3, 0, 1, 1089 1, 0, 0, 137, 1, 3, 0, 1,
1086 0, 135, 0, 235, 0, 0, 0, 274, 1090 0, 135, 0, 235, 0, 0, 0, 274,
1087 0, 0, 0, 0, 0, 3, 0, 271, 1091 0, 0, 0, 0, 0, 3, 0, 271,
@@ -1089,7 +1093,7 @@ static const short _eo_tokenizer_trans_actions[] = {
1089 0, 0, 0, 3, 0, 343, 153, 0, 1093 0, 0, 0, 3, 0, 343, 153, 0,
1090 0, 0, 0, 1, 3, 0, 1, 0, 1094 0, 0, 0, 1, 3, 0, 1, 0,
1091 0, 171, 0, 1, 0, 157, 0, 238, 1095 0, 171, 0, 1, 0, 157, 0, 238,
1092 9, 9, 277, 0, 280, 0, 1, 159, 1096 0, 1, 159, 0, 9, 277, 280, 9,
1093 0, 209, 0, 1, 0, 0, 175, 1, 1097 0, 209, 0, 1, 0, 0, 175, 1,
1094 3, 0, 1, 0, 173, 0, 241, 0, 1098 3, 0, 1, 0, 173, 0, 241, 0,
1095 0, 0, 0, 0, 0, 0, 0, 0, 1099 0, 0, 0, 0, 0, 0, 0, 0,
@@ -1325,7 +1329,7 @@ eo_tokenizer_walk(Eo_Tokenizer *toknz, const char *source)
1325 } 1329 }
1326 1330
1327 1331
1328#line 1329 "lib/eolian/eo_lexer.c" 1332#line 1333 "lib/eolian/eo_lexer.c"
1329 { 1333 {
1330 toknz->cs = eo_tokenizer_start; 1334 toknz->cs = eo_tokenizer_start;
1331 toknz->ts = 0; 1335 toknz->ts = 0;
@@ -1360,7 +1364,7 @@ eo_tokenizer_walk(Eo_Tokenizer *toknz, const char *source)
1360 } 1364 }
1361 1365
1362 1366
1363#line 1364 "lib/eolian/eo_lexer.c" 1367#line 1368 "lib/eolian/eo_lexer.c"
1364 { 1368 {
1365 int _klen; 1369 int _klen;
1366 unsigned int _trans; 1370 unsigned int _trans;
@@ -1379,7 +1383,7 @@ _resume:
1379#line 1 "NONE" 1383#line 1 "NONE"
1380 { toknz->ts = ( toknz->p);} 1384 { toknz->ts = ( toknz->p);}
1381 break; 1385 break;
1382#line 1383 "lib/eolian/eo_lexer.c" 1386#line 1387 "lib/eolian/eo_lexer.c"
1383 } 1387 }
1384 } 1388 }
1385 1389
@@ -2696,7 +2700,7 @@ _eof_trans:
2696 {( toknz->p)++; goto _out; } /* necessary to stop scanners */ 2700 {( toknz->p)++; goto _out; } /* necessary to stop scanners */
2697 }} 2701 }}
2698 break; 2702 break;
2699#line 2700 "lib/eolian/eo_lexer.c" 2703#line 2704 "lib/eolian/eo_lexer.c"
2700 } 2704 }
2701 } 2705 }
2702 2706
@@ -2709,7 +2713,7 @@ _again:
2709#line 1 "NONE" 2713#line 1 "NONE"
2710 { toknz->ts = 0;} 2714 { toknz->ts = 0;}
2711 break; 2715 break;
2712#line 2713 "lib/eolian/eo_lexer.c" 2716#line 2717 "lib/eolian/eo_lexer.c"
2713 } 2717 }
2714 } 2718 }
2715 2719
@@ -2730,7 +2734,7 @@ _again:
2730#line 1090 "lib/eolian/eo_lexer.rl" 2734#line 1090 "lib/eolian/eo_lexer.rl"
2731 2735
2732 if ( toknz->cs == 2736 if ( toknz->cs ==
2733#line 2734 "lib/eolian/eo_lexer.c" 2737#line 2738 "lib/eolian/eo_lexer.c"
2734-1 2738-1
2735#line 1091 "lib/eolian/eo_lexer.rl" 2739#line 1091 "lib/eolian/eo_lexer.rl"
2736 ) 2740 )
@@ -2778,7 +2782,7 @@ eo_tokenizer_mem_walk(Eo_Tokenizer *toknz, const char *source, char *buffer, uns
2778 Eina_Bool ret = EINA_TRUE; 2782 Eina_Bool ret = EINA_TRUE;
2779 2783
2780 2784
2781#line 2782 "lib/eolian/eo_lexer.c" 2785#line 2786 "lib/eolian/eo_lexer.c"
2782 { 2786 {
2783 toknz->cs = eo_tokenizer_start; 2787 toknz->cs = eo_tokenizer_start;
2784 toknz->ts = 0; 2788 toknz->ts = 0;
@@ -2795,7 +2799,7 @@ eo_tokenizer_mem_walk(Eo_Tokenizer *toknz, const char *source, char *buffer, uns
2795 toknz->eof = toknz->pe; 2799 toknz->eof = toknz->pe;
2796 2800
2797 2801
2798#line 2799 "lib/eolian/eo_lexer.c" 2802#line 2803 "lib/eolian/eo_lexer.c"
2799 { 2803 {
2800 int _klen; 2804 int _klen;
2801 unsigned int _trans; 2805 unsigned int _trans;
@@ -2814,7 +2818,7 @@ _resume:
2814#line 1 "NONE" 2818#line 1 "NONE"
2815 { toknz->ts = ( toknz->p);} 2819 { toknz->ts = ( toknz->p);}
2816 break; 2820 break;
2817#line 2818 "lib/eolian/eo_lexer.c" 2821#line 2822 "lib/eolian/eo_lexer.c"
2818 } 2822 }
2819 } 2823 }
2820 2824
@@ -4131,7 +4135,7 @@ _eof_trans:
4131 {( toknz->p)++; goto _out; } /* necessary to stop scanners */ 4135 {( toknz->p)++; goto _out; } /* necessary to stop scanners */
4132 }} 4136 }}
4133 break; 4137 break;
4134#line 4135 "lib/eolian/eo_lexer.c" 4138#line 4139 "lib/eolian/eo_lexer.c"
4135 } 4139 }
4136 } 4140 }
4137 4141
@@ -4144,7 +4148,7 @@ _again:
4144#line 1 "NONE" 4148#line 1 "NONE"
4145 { toknz->ts = 0;} 4149 { toknz->ts = 0;}
4146 break; 4150 break;
4147#line 4148 "lib/eolian/eo_lexer.c" 4151#line 4152 "lib/eolian/eo_lexer.c"
4148 } 4152 }
4149 } 4153 }
4150 4154
@@ -4165,7 +4169,7 @@ _again:
4165#line 1144 "lib/eolian/eo_lexer.rl" 4169#line 1144 "lib/eolian/eo_lexer.rl"
4166 4170
4167 if ( toknz->cs == 4171 if ( toknz->cs ==
4168#line 4169 "lib/eolian/eo_lexer.c" 4172#line 4173 "lib/eolian/eo_lexer.c"
4169-1 4173-1
4170#line 1145 "lib/eolian/eo_lexer.rl" 4174#line 1145 "lib/eolian/eo_lexer.rl"
4171 ) 4175 )
diff --git a/src/lib/eolian/eo_lexer.rl b/src/lib/eolian/eo_lexer.rl
index 43e4a21..a753300 100644
--- a/src/lib/eolian/eo_lexer.rl
+++ b/src/lib/eolian/eo_lexer.rl
@@ -439,7 +439,7 @@ _eo_tokenizer_implement_get(Eo_Tokenizer *toknz, char *p)
439 439
440 # chars allowed on the return line. 440 # chars allowed on the return line.
441 return_char = (alnum_u | '*' | ws | '@' | '(' | ')' | '.' | '-' | '<' | '>'); 441 return_char = (alnum_u | '*' | ws | '@' | '(' | ')' | '.' | '-' | '<' | '>');
442 func_name = (alnum >save_fpc (alnum | '_')+ (ws (alnum | '_')+)?); 442 func_name = (alnum >save_fpc (alnum | '_')* (ws (alnum | '_')+)?);
443}%% 443}%%
444 444
445%%{ 445%%{