Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(261806)

Delta Between Two Patch Sets: Python/graminit.c

Issue 11682: PEP 380 reference implementation for 3.3
Left Patch Set: Created 8 years, 1 month ago
Right Patch Set: Created 7 years, 7 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
LEFTRIGHT
1 /* Generated by Parser/pgen */ 1 /* Generated by Parser/pgen */
2 2
3 #include "pgenheaders.h" 3 #include "pgenheaders.h"
4 #include "grammar.h" 4 #include "grammar.h"
5 PyAPI_DATA(grammar) _PyParser_Grammar; 5 PyAPI_DATA(grammar) _PyParser_Grammar;
6 static arc arcs_0_0[3] = { 6 static arc arcs_0_0[3] = {
7 {2, 1}, 7 {2, 1},
8 {3, 1}, 8 {3, 1},
9 {4, 2}, 9 {4, 2},
10 }; 10 };
(...skipping 1682 matching lines...) Expand 10 before | Expand all | Expand 10 after
1693 static state states_74[8] = { 1693 static state states_74[8] = {
1694 {3, arcs_74_0}, 1694 {3, arcs_74_0},
1695 {2, arcs_74_1}, 1695 {2, arcs_74_1},
1696 {1, arcs_74_2}, 1696 {1, arcs_74_2},
1697 {1, arcs_74_3}, 1697 {1, arcs_74_3},
1698 {4, arcs_74_4}, 1698 {4, arcs_74_4},
1699 {2, arcs_74_5}, 1699 {2, arcs_74_5},
1700 {1, arcs_74_6}, 1700 {1, arcs_74_6},
1701 {2, arcs_74_7}, 1701 {2, arcs_74_7},
1702 }; 1702 };
1703 static arc arcs_75_0[2] = { 1703 static arc arcs_75_0[1] = {
1704 {24, 1}, 1704 {24, 1},
1705 {164, 2},
1706 }; 1705 };
1707 static arc arcs_75_1[3] = { 1706 static arc arcs_75_1[3] = {
1708 {158, 3}, 1707 {158, 2},
1709 {29, 4}, 1708 {29, 3},
1710 {0, 1}, 1709 {0, 1},
1711 }; 1710 };
1712 static arc arcs_75_2[2] = { 1711 static arc arcs_75_2[1] = {
1713 {158, 3},
1714 {0, 2}, 1712 {0, 2},
1715 }; 1713 };
1716 static arc arcs_75_3[1] = { 1714 static arc arcs_75_3[1] = {
1717 {0, 3}, 1715 {24, 2},
1718 }; 1716 };
1719 static arc arcs_75_4[2] = { 1717 static state states_75[4] = {
1720 {24, 3}, 1718 {1, arcs_75_0},
1721 {164, 3},
1722 };
1723 static state states_75[5] = {
1724 {2, arcs_75_0},
1725 {3, arcs_75_1}, 1719 {3, arcs_75_1},
1726 {2, arcs_75_2}, 1720 {1, arcs_75_2},
1727 {1, arcs_75_3}, 1721 {1, arcs_75_3},
1728 {2, arcs_75_4},
1729 }; 1722 };
1730 static arc arcs_76_0[2] = { 1723 static arc arcs_76_0[2] = {
1731 {158, 1}, 1724 {158, 1},
1732 {166, 1}, 1725 {165, 1},
1733 }; 1726 };
1734 static arc arcs_76_1[1] = { 1727 static arc arcs_76_1[1] = {
1735 {0, 1}, 1728 {0, 1},
1736 }; 1729 };
1737 static state states_76[2] = { 1730 static state states_76[2] = {
1738 {2, arcs_76_0}, 1731 {2, arcs_76_0},
1739 {1, arcs_76_1}, 1732 {1, arcs_76_1},
1740 }; 1733 };
1741 static arc arcs_77_0[1] = { 1734 static arc arcs_77_0[1] = {
1742 {96, 1}, 1735 {96, 1},
1743 }; 1736 };
1744 static arc arcs_77_1[1] = { 1737 static arc arcs_77_1[1] = {
1745 {62, 2}, 1738 {62, 2},
1746 }; 1739 };
1747 static arc arcs_77_2[1] = { 1740 static arc arcs_77_2[1] = {
1748 {97, 3}, 1741 {97, 3},
1749 }; 1742 };
1750 static arc arcs_77_3[1] = { 1743 static arc arcs_77_3[1] = {
1751 {107, 4}, 1744 {107, 4},
1752 }; 1745 };
1753 static arc arcs_77_4[2] = { 1746 static arc arcs_77_4[2] = {
1754 {165, 5}, 1747 {164, 5},
1755 {0, 4}, 1748 {0, 4},
1756 }; 1749 };
1757 static arc arcs_77_5[1] = { 1750 static arc arcs_77_5[1] = {
1758 {0, 5}, 1751 {0, 5},
1759 }; 1752 };
1760 static state states_77[6] = { 1753 static state states_77[6] = {
1761 {1, arcs_77_0}, 1754 {1, arcs_77_0},
1762 {1, arcs_77_1}, 1755 {1, arcs_77_1},
1763 {1, arcs_77_2}, 1756 {1, arcs_77_2},
1764 {1, arcs_77_3}, 1757 {1, arcs_77_3},
1765 {2, arcs_77_4}, 1758 {2, arcs_77_4},
1766 {1, arcs_77_5}, 1759 {1, arcs_77_5},
1767 }; 1760 };
1768 static arc arcs_78_0[1] = { 1761 static arc arcs_78_0[1] = {
1769 {92, 1}, 1762 {92, 1},
1770 }; 1763 };
1771 static arc arcs_78_1[1] = { 1764 static arc arcs_78_1[1] = {
1772 {109, 2}, 1765 {109, 2},
1773 }; 1766 };
1774 static arc arcs_78_2[2] = { 1767 static arc arcs_78_2[2] = {
1775 {165, 3}, 1768 {164, 3},
1776 {0, 2}, 1769 {0, 2},
1777 }; 1770 };
1778 static arc arcs_78_3[1] = { 1771 static arc arcs_78_3[1] = {
1779 {0, 3}, 1772 {0, 3},
1780 }; 1773 };
1781 static state states_78[4] = { 1774 static state states_78[4] = {
1782 {1, arcs_78_0}, 1775 {1, arcs_78_0},
1783 {1, arcs_78_1}, 1776 {1, arcs_78_1},
1784 {2, arcs_78_2}, 1777 {2, arcs_78_2},
1785 {1, arcs_78_3}, 1778 {1, arcs_78_3},
1786 }; 1779 };
1787 static arc arcs_79_0[1] = { 1780 static arc arcs_79_0[1] = {
1788 {21, 1}, 1781 {21, 1},
1789 }; 1782 };
1790 static arc arcs_79_1[1] = { 1783 static arc arcs_79_1[1] = {
1791 {0, 1}, 1784 {0, 1},
1792 }; 1785 };
1793 static state states_79[2] = { 1786 static state states_79[2] = {
1794 {1, arcs_79_0}, 1787 {1, arcs_79_0},
1795 {1, arcs_79_1}, 1788 {1, arcs_79_1},
1796 }; 1789 };
1797 static arc arcs_80_0[1] = { 1790 static arc arcs_80_0[1] = {
1798 {168, 1}, 1791 {167, 1},
1799 }; 1792 };
1800 static arc arcs_80_1[2] = { 1793 static arc arcs_80_1[2] = {
1801 {169, 2}, 1794 {168, 2},
1802 {0, 1}, 1795 {0, 1},
1803 }; 1796 };
1804 static arc arcs_80_2[1] = { 1797 static arc arcs_80_2[1] = {
1805 {0, 2}, 1798 {0, 2},
1806 }; 1799 };
1807 static state states_80[3] = { 1800 static state states_80[3] = {
1808 {1, arcs_80_0}, 1801 {1, arcs_80_0},
1809 {2, arcs_80_1}, 1802 {2, arcs_80_1},
1810 {1, arcs_80_2}, 1803 {1, arcs_80_2},
1811 }; 1804 };
1812 static arc arcs_81_0[2] = { 1805 static arc arcs_81_0[2] = {
1813 {73, 1}, 1806 {73, 1},
1814 {9, 2}, 1807 {9, 2},
1815 }; 1808 };
1816 static arc arcs_81_1[1] = { 1809 static arc arcs_81_1[1] = {
1817 {24, 2}, 1810 {24, 2},
1818 }; 1811 };
1819 static arc arcs_81_2[1] = { 1812 static arc arcs_81_2[1] = {
1820 {0, 2}, 1813 {0, 2},
1821 }; 1814 };
1822 static state states_81[3] = { 1815 static state states_81[3] = {
1823 {2, arcs_81_0}, 1816 {2, arcs_81_0},
1824 {1, arcs_81_1}, 1817 {1, arcs_81_1},
1825 {1, arcs_81_2}, 1818 {1, arcs_81_2},
1826 }; 1819 };
1827 static arc arcs_82_0[1] = { 1820 static dfa dfas[82] = {
1828 {168, 1},
1829 };
1830 static arc arcs_82_1[1] = {
1831 {73, 2},
1832 };
1833 static arc arcs_82_2[1] = {
1834 {24, 3},
1835 };
1836 static arc arcs_82_3[1] = {
1837 {0, 3},
1838 };
1839 static state states_82[4] = {
1840 {1, arcs_82_0},
1841 {1, arcs_82_1},
1842 {1, arcs_82_2},
1843 {1, arcs_82_3},
1844 };
1845 static dfa dfas[83] = {
1846 {256, "single_input", 0, 3, states_0, 1821 {256, "single_input", 0, 3, states_0,
1847 "\004\050\060\200\000\000\000\240\340\223\160\220\045\200\020\000\000\206\1 20\076\004\001"}, 1822 "\004\050\060\200\000\000\000\240\340\223\160\220\045\200\020\000\000\206\1 20\076\204\000"},
1848 {257, "file_input", 0, 2, states_1, 1823 {257, "file_input", 0, 2, states_1,
1849 "\204\050\060\200\000\000\000\240\340\223\160\220\045\200\020\000\000\206\1 20\076\004\001"}, 1824 "\204\050\060\200\000\000\000\240\340\223\160\220\045\200\020\000\000\206\1 20\076\204\000"},
1850 {258, "eval_input", 0, 3, states_2, 1825 {258, "eval_input", 0, 3, states_2,
1851 "\000\040\040\000\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000\000"}, 1826 "\000\040\040\000\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000\000"},
1852 {259, "decorator", 0, 7, states_3, 1827 {259, "decorator", 0, 7, states_3,
1853 "\000\010\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"}, 1828 "\000\010\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"},
1854 {260, "decorators", 0, 2, states_4, 1829 {260, "decorators", 0, 2, states_4,
1855 "\000\010\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"}, 1830 "\000\010\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"},
1856 {261, "decorated", 0, 3, states_5, 1831 {261, "decorated", 0, 3, states_5,
1857 "\000\010\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"}, 1832 "\000\010\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"},
1858 {262, "funcdef", 0, 8, states_6, 1833 {262, "funcdef", 0, 8, states_6,
1859 "\000\000\020\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"}, 1834 "\000\000\020\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"},
1860 {263, "parameters", 0, 4, states_7, 1835 {263, "parameters", 0, 4, states_7,
1861 "\000\040\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"}, 1836 "\000\040\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"},
1862 {264, "typedargslist", 0, 18, states_8, 1837 {264, "typedargslist", 0, 18, states_8,
1863 "\000\000\040\200\001\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"}, 1838 "\000\000\040\200\001\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"},
1864 {265, "tfpdef", 0, 4, states_9, 1839 {265, "tfpdef", 0, 4, states_9,
1865 "\000\000\040\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"}, 1840 "\000\000\040\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"},
1866 {266, "varargslist", 0, 18, states_10, 1841 {266, "varargslist", 0, 18, states_10,
1867 "\000\000\040\200\001\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"}, 1842 "\000\000\040\200\001\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"},
1868 {267, "vfpdef", 0, 2, states_11, 1843 {267, "vfpdef", 0, 2, states_11,
1869 "\000\000\040\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"}, 1844 "\000\000\040\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"},
1870 {268, "stmt", 0, 2, states_12, 1845 {268, "stmt", 0, 2, states_12,
1871 "\000\050\060\200\000\000\000\240\340\223\160\220\045\200\020\000\000\206\1 20\076\004\001"}, 1846 "\000\050\060\200\000\000\000\240\340\223\160\220\045\200\020\000\000\206\1 20\076\204\000"},
1872 {269, "simple_stmt", 0, 4, states_13, 1847 {269, "simple_stmt", 0, 4, states_13,
1873 "\000\040\040\200\000\000\000\240\340\223\160\000\000\200\020\000\000\206\1 20\076\000\001"}, 1848 "\000\040\040\200\000\000\000\240\340\223\160\000\000\200\020\000\000\206\1 20\076\200\000"},
1874 {270, "small_stmt", 0, 2, states_14, 1849 {270, "small_stmt", 0, 2, states_14,
1875 "\000\040\040\200\000\000\000\240\340\223\160\000\000\200\020\000\000\206\1 20\076\000\001"}, 1850 "\000\040\040\200\000\000\000\240\340\223\160\000\000\200\020\000\000\206\1 20\076\200\000"},
1876 {271, "expr_stmt", 0, 6, states_15, 1851 {271, "expr_stmt", 0, 6, states_15,
1877 "\000\040\040\200\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000\000"}, 1852 "\000\040\040\200\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000\000"},
1878 {272, "testlist_star_expr", 0, 3, states_16, 1853 {272, "testlist_star_expr", 0, 3, states_16,
1879 "\000\040\040\200\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000\000"}, 1854 "\000\040\040\200\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000\000"},
1880 {273, "augassign", 0, 2, states_17, 1855 {273, "augassign", 0, 2, states_17,
1881 "\000\000\000\000\000\000\376\037\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"}, 1856 "\000\000\000\000\000\000\376\037\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"},
1882 {274, "del_stmt", 0, 3, states_18, 1857 {274, "del_stmt", 0, 3, states_18,
1883 "\000\000\000\000\000\000\000\040\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"}, 1858 "\000\000\000\000\000\000\000\040\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"},
1884 {275, "pass_stmt", 0, 2, states_19, 1859 {275, "pass_stmt", 0, 2, states_19,
1885 "\000\000\000\000\000\000\000\200\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"}, 1860 "\000\000\000\000\000\000\000\200\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"},
1886 {276, "flow_stmt", 0, 2, states_20, 1861 {276, "flow_stmt", 0, 2, states_20,
1887 "\000\000\000\000\000\000\000\000\340\001\000\000\000\000\000\000\000\000\0 00\000\000\001"}, 1862 "\000\000\000\000\000\000\000\000\340\001\000\000\000\000\000\000\000\000\0 00\000\200\000"},
1888 {277, "break_stmt", 0, 2, states_21, 1863 {277, "break_stmt", 0, 2, states_21,
1889 "\000\000\000\000\000\000\000\000\040\000\000\000\000\000\000\000\000\000\0 00\000\000\000"}, 1864 "\000\000\000\000\000\000\000\000\040\000\000\000\000\000\000\000\000\000\0 00\000\000\000"},
1890 {278, "continue_stmt", 0, 2, states_22, 1865 {278, "continue_stmt", 0, 2, states_22,
1891 "\000\000\000\000\000\000\000\000\100\000\000\000\000\000\000\000\000\000\0 00\000\000\000"}, 1866 "\000\000\000\000\000\000\000\000\100\000\000\000\000\000\000\000\000\000\0 00\000\000\000"},
1892 {279, "return_stmt", 0, 3, states_23, 1867 {279, "return_stmt", 0, 3, states_23,
1893 "\000\000\000\000\000\000\000\000\200\000\000\000\000\000\000\000\000\000\0 00\000\000\000"}, 1868 "\000\000\000\000\000\000\000\000\200\000\000\000\000\000\000\000\000\000\0 00\000\000\000"},
1894 {280, "yield_stmt", 0, 2, states_24, 1869 {280, "yield_stmt", 0, 2, states_24,
1895 "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\001"}, 1870 "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\200\000"},
1896 {281, "raise_stmt", 0, 5, states_25, 1871 {281, "raise_stmt", 0, 5, states_25,
1897 "\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\000\0 00\000\000\000"}, 1872 "\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\000\0 00\000\000\000"},
1898 {282, "import_stmt", 0, 2, states_26, 1873 {282, "import_stmt", 0, 2, states_26,
1899 "\000\000\000\000\000\000\000\000\000\022\000\000\000\000\000\000\000\000\0 00\000\000\000"}, 1874 "\000\000\000\000\000\000\000\000\000\022\000\000\000\000\000\000\000\000\0 00\000\000\000"},
1900 {283, "import_name", 0, 3, states_27, 1875 {283, "import_name", 0, 3, states_27,
1901 "\000\000\000\000\000\000\000\000\000\020\000\000\000\000\000\000\000\000\0 00\000\000\000"}, 1876 "\000\000\000\000\000\000\000\000\000\020\000\000\000\000\000\000\000\000\0 00\000\000\000"},
1902 {284, "import_from", 0, 8, states_28, 1877 {284, "import_from", 0, 8, states_28,
1903 "\000\000\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\000\0 00\000\000\000"}, 1878 "\000\000\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\000\0 00\000\000\000"},
1904 {285, "import_as_name", 0, 4, states_29, 1879 {285, "import_as_name", 0, 4, states_29,
1905 "\000\000\040\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"}, 1880 "\000\000\040\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"},
(...skipping 21 matching lines...) Expand all
1927 "\000\000\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\0 00\000\000\000"}, 1902 "\000\000\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\0 00\000\000\000"},
1928 {297, "try_stmt", 0, 13, states_41, 1903 {297, "try_stmt", 0, 13, states_41,
1929 "\000\000\000\000\000\000\000\000\000\000\000\000\004\000\000\000\000\000\0 00\000\000\000"}, 1904 "\000\000\000\000\000\000\000\000\000\000\000\000\004\000\000\000\000\000\0 00\000\000\000"},
1930 {298, "with_stmt", 0, 5, states_42, 1905 {298, "with_stmt", 0, 5, states_42,
1931 "\000\000\000\000\000\000\000\000\000\000\000\000\040\000\000\000\000\000\0 00\000\000\000"}, 1906 "\000\000\000\000\000\000\000\000\000\000\000\000\040\000\000\000\000\000\0 00\000\000\000"},
1932 {299, "with_item", 0, 4, states_43, 1907 {299, "with_item", 0, 4, states_43,
1933 "\000\040\040\000\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000\000"}, 1908 "\000\040\040\000\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000\000"},
1934 {300, "except_clause", 0, 5, states_44, 1909 {300, "except_clause", 0, 5, states_44,
1935 "\000\000\000\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\0 00\000\000\000"}, 1910 "\000\000\000\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\0 00\000\000\000"},
1936 {301, "suite", 0, 5, states_45, 1911 {301, "suite", 0, 5, states_45,
1937 "\004\040\040\200\000\000\000\240\340\223\160\000\000\200\020\000\000\206\1 20\076\000\001"}, 1912 "\004\040\040\200\000\000\000\240\340\223\160\000\000\200\020\000\000\206\1 20\076\200\000"},
1938 {302, "test", 0, 6, states_46, 1913 {302, "test", 0, 6, states_46,
1939 "\000\040\040\000\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000\000"}, 1914 "\000\040\040\000\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000\000"},
1940 {303, "test_nocond", 0, 2, states_47, 1915 {303, "test_nocond", 0, 2, states_47,
1941 "\000\040\040\000\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000\000"}, 1916 "\000\040\040\000\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000\000"},
1942 {304, "lambdef", 0, 5, states_48, 1917 {304, "lambdef", 0, 5, states_48,
1943 "\000\000\000\000\000\000\000\000\000\000\000\000\000\200\000\000\000\000\0 00\000\000\000"}, 1918 "\000\000\000\000\000\000\000\000\000\000\000\000\000\200\000\000\000\000\0 00\000\000\000"},
1944 {305, "lambdef_nocond", 0, 5, states_49, 1919 {305, "lambdef_nocond", 0, 5, states_49,
1945 "\000\000\000\000\000\000\000\000\000\000\000\000\000\200\000\000\000\000\0 00\000\000\000"}, 1920 "\000\000\000\000\000\000\000\000\000\000\000\000\000\200\000\000\000\000\0 00\000\000\000"},
1946 {306, "or_test", 0, 2, states_50, 1921 {306, "or_test", 0, 2, states_50,
1947 "\000\040\040\000\000\000\000\000\000\200\000\000\000\000\020\000\000\206\1 20\076\000\000"}, 1922 "\000\040\040\000\000\000\000\000\000\200\000\000\000\000\020\000\000\206\1 20\076\000\000"},
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
1985 "\000\000\000\002\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"}, 1960 "\000\000\000\002\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"},
1986 {326, "exprlist", 0, 3, states_70, 1961 {326, "exprlist", 0, 3, states_70,
1987 "\000\040\040\200\000\000\000\000\000\200\000\000\000\000\000\000\000\206\1 20\076\000\000"}, 1962 "\000\040\040\200\000\000\000\000\000\200\000\000\000\000\000\000\000\206\1 20\076\000\000"},
1988 {327, "testlist", 0, 3, states_71, 1963 {327, "testlist", 0, 3, states_71,
1989 "\000\040\040\000\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000\000"}, 1964 "\000\040\040\000\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000\000"},
1990 {328, "dictorsetmaker", 0, 11, states_72, 1965 {328, "dictorsetmaker", 0, 11, states_72,
1991 "\000\040\040\000\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000\000"}, 1966 "\000\040\040\000\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000\000"},
1992 {329, "classdef", 0, 8, states_73, 1967 {329, "classdef", 0, 8, states_73,
1993 "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\004\000"}, 1968 "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\004\000"},
1994 {330, "arglist", 0, 8, states_74, 1969 {330, "arglist", 0, 8, states_74,
1995 "\000\040\040\200\001\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000\001"}, 1970 "\000\040\040\200\001\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000\000"},
1996 {331, "argument", 0, 5, states_75, 1971 {331, "argument", 0, 4, states_75,
1997 "\000\040\040\000\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000\001"}, 1972 "\000\040\040\000\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000\000"},
1998 {332, "comp_iter", 0, 2, states_76, 1973 {332, "comp_iter", 0, 2, states_76,
1999 "\000\000\000\000\000\000\000\000\000\000\000\020\001\000\000\000\000\000\0 00\000\000\000"}, 1974 "\000\000\000\000\000\000\000\000\000\000\000\020\001\000\000\000\000\000\0 00\000\000\000"},
2000 {333, "comp_for", 0, 6, states_77, 1975 {333, "comp_for", 0, 6, states_77,
2001 "\000\000\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\0 00\000\000\000"}, 1976 "\000\000\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\0 00\000\000\000"},
2002 {334, "comp_if", 0, 4, states_78, 1977 {334, "comp_if", 0, 4, states_78,
2003 "\000\000\000\000\000\000\000\000\000\000\000\020\000\000\000\000\000\000\0 00\000\000\000"}, 1978 "\000\000\000\000\000\000\000\000\000\000\000\020\000\000\000\000\000\000\0 00\000\000\000"},
2004 {335, "encoding_decl", 0, 2, states_79, 1979 {335, "encoding_decl", 0, 2, states_79,
2005 "\000\000\040\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"}, 1980 "\000\000\040\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"},
2006 {336, "yield_expr", 0, 3, states_80, 1981 {336, "yield_expr", 0, 3, states_80,
2007 "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\001"}, 1982 "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\200\000"},
2008 {337, "yield_arg", 0, 3, states_81, 1983 {337, "yield_arg", 0, 3, states_81,
2009 "\000\040\040\000\000\000\000\000\000\202\000\000\000\200\020\000\000\206\1 20\076\000\000"}, 1984 "\000\040\040\000\000\000\000\000\000\202\000\000\000\200\020\000\000\206\1 20\076\000\000"},
2010 {338, "yield_from", 0, 4, states_82, 1985 };
2011 "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\001"}, 1986 static label labels[169] = {
2012 };
2013 static label labels[170] = {
2014 {0, "EMPTY"}, 1987 {0, "EMPTY"},
2015 {256, 0}, 1988 {256, 0},
2016 {4, 0}, 1989 {4, 0},
2017 {269, 0}, 1990 {269, 0},
2018 {293, 0}, 1991 {293, 0},
2019 {257, 0}, 1992 {257, 0},
2020 {268, 0}, 1993 {268, 0},
2021 {0, 0}, 1994 {0, 0},
2022 {258, 0}, 1995 {258, 0},
2023 {327, 0}, 1996 {327, 0},
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
2168 {3, 0}, 2141 {3, 0},
2169 {1, "None"}, 2142 {1, "None"},
2170 {1, "True"}, 2143 {1, "True"},
2171 {1, "False"}, 2144 {1, "False"},
2172 {333, 0}, 2145 {333, 0},
2173 {323, 0}, 2146 {323, 0},
2174 {324, 0}, 2147 {324, 0},
2175 {325, 0}, 2148 {325, 0},
2176 {1, "class"}, 2149 {1, "class"},
2177 {331, 0}, 2150 {331, 0},
2178 {338, 0},
2179 {332, 0}, 2151 {332, 0},
2180 {334, 0}, 2152 {334, 0},
2181 {335, 0}, 2153 {335, 0},
2182 {1, "yield"}, 2154 {1, "yield"},
2183 {337, 0}, 2155 {337, 0},
2184 }; 2156 };
2185 grammar _PyParser_Grammar = { 2157 grammar _PyParser_Grammar = {
2186 83, 2158 82,
2187 dfas, 2159 dfas,
2188 {170, labels}, 2160 {169, labels},
2189 256 2161 256
2190 }; 2162 };
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+