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

Side by Side Diff: Python/graminit.c

Issue 11682: PEP 380 reference implementation for 3.3
Patch Set: Created 7 years, 5 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:
View unified diff | Download patch
« no previous file with comments | « Python/compile.c ('k') | Python/opcode_targets.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1773 matching lines...) Expand 10 before | Expand all | Expand 10 after
1784 {0, 1}, 1784 {0, 1},
1785 }; 1785 };
1786 static state states_79[2] = { 1786 static state states_79[2] = {
1787 {1, arcs_79_0}, 1787 {1, arcs_79_0},
1788 {1, arcs_79_1}, 1788 {1, arcs_79_1},
1789 }; 1789 };
1790 static arc arcs_80_0[1] = { 1790 static arc arcs_80_0[1] = {
1791 {167, 1}, 1791 {167, 1},
1792 }; 1792 };
1793 static arc arcs_80_1[2] = { 1793 static arc arcs_80_1[2] = {
1794 {9, 2}, 1794 {168, 2},
1795 {0, 1}, 1795 {0, 1},
1796 }; 1796 };
1797 static arc arcs_80_2[1] = { 1797 static arc arcs_80_2[1] = {
1798 {0, 2}, 1798 {0, 2},
1799 }; 1799 };
1800 static state states_80[3] = { 1800 static state states_80[3] = {
1801 {1, arcs_80_0}, 1801 {1, arcs_80_0},
1802 {2, arcs_80_1}, 1802 {2, arcs_80_1},
1803 {1, arcs_80_2}, 1803 {1, arcs_80_2},
1804 }; 1804 };
1805 static dfa dfas[81] = { 1805 static arc arcs_81_0[2] = {
1806 {73, 1},
1807 {9, 2},
1808 };
1809 static arc arcs_81_1[1] = {
1810 {24, 2},
1811 };
1812 static arc arcs_81_2[1] = {
1813 {0, 2},
1814 };
1815 static state states_81[3] = {
1816 {2, arcs_81_0},
1817 {1, arcs_81_1},
1818 {1, arcs_81_2},
1819 };
1820 static dfa dfas[82] = {
1806 {256, "single_input", 0, 3, states_0, 1821 {256, "single_input", 0, 3, states_0,
1807 "\004\050\060\200\000\000\000\240\340\223\160\220\045\200\020\000\000\206\1 20\076\204"}, 1822 "\004\050\060\200\000\000\000\240\340\223\160\220\045\200\020\000\000\206\1 20\076\204\000"},
1808 {257, "file_input", 0, 2, states_1, 1823 {257, "file_input", 0, 2, states_1,
1809 "\204\050\060\200\000\000\000\240\340\223\160\220\045\200\020\000\000\206\1 20\076\204"}, 1824 "\204\050\060\200\000\000\000\240\340\223\160\220\045\200\020\000\000\206\1 20\076\204\000"},
1810 {258, "eval_input", 0, 3, states_2, 1825 {258, "eval_input", 0, 3, states_2,
1811 "\000\040\040\000\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\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"},
1812 {259, "decorator", 0, 7, states_3, 1827 {259, "decorator", 0, 7, states_3,
1813 "\000\010\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\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"},
1814 {260, "decorators", 0, 2, states_4, 1829 {260, "decorators", 0, 2, states_4,
1815 "\000\010\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\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"},
1816 {261, "decorated", 0, 3, states_5, 1831 {261, "decorated", 0, 3, states_5,
1817 "\000\010\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\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"},
1818 {262, "funcdef", 0, 8, states_6, 1833 {262, "funcdef", 0, 8, states_6,
1819 "\000\000\020\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\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"},
1820 {263, "parameters", 0, 4, states_7, 1835 {263, "parameters", 0, 4, states_7,
1821 "\000\040\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\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"},
1822 {264, "typedargslist", 0, 18, states_8, 1837 {264, "typedargslist", 0, 18, states_8,
1823 "\000\000\040\200\001\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\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"},
1824 {265, "tfpdef", 0, 4, states_9, 1839 {265, "tfpdef", 0, 4, states_9,
1825 "\000\000\040\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\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"},
1826 {266, "varargslist", 0, 18, states_10, 1841 {266, "varargslist", 0, 18, states_10,
1827 "\000\000\040\200\001\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\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"},
1828 {267, "vfpdef", 0, 2, states_11, 1843 {267, "vfpdef", 0, 2, states_11,
1829 "\000\000\040\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\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"},
1830 {268, "stmt", 0, 2, states_12, 1845 {268, "stmt", 0, 2, states_12,
1831 "\000\050\060\200\000\000\000\240\340\223\160\220\045\200\020\000\000\206\1 20\076\204"}, 1846 "\000\050\060\200\000\000\000\240\340\223\160\220\045\200\020\000\000\206\1 20\076\204\000"},
1832 {269, "simple_stmt", 0, 4, states_13, 1847 {269, "simple_stmt", 0, 4, states_13,
1833 "\000\040\040\200\000\000\000\240\340\223\160\000\000\200\020\000\000\206\1 20\076\200"}, 1848 "\000\040\040\200\000\000\000\240\340\223\160\000\000\200\020\000\000\206\1 20\076\200\000"},
1834 {270, "small_stmt", 0, 2, states_14, 1849 {270, "small_stmt", 0, 2, states_14,
1835 "\000\040\040\200\000\000\000\240\340\223\160\000\000\200\020\000\000\206\1 20\076\200"}, 1850 "\000\040\040\200\000\000\000\240\340\223\160\000\000\200\020\000\000\206\1 20\076\200\000"},
1836 {271, "expr_stmt", 0, 6, states_15, 1851 {271, "expr_stmt", 0, 6, states_15,
1837 "\000\040\040\200\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\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"},
1838 {272, "testlist_star_expr", 0, 3, states_16, 1853 {272, "testlist_star_expr", 0, 3, states_16,
1839 "\000\040\040\200\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\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"},
1840 {273, "augassign", 0, 2, states_17, 1855 {273, "augassign", 0, 2, states_17,
1841 "\000\000\000\000\000\000\376\037\000\000\000\000\000\000\000\000\000\000\0 00\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"},
1842 {274, "del_stmt", 0, 3, states_18, 1857 {274, "del_stmt", 0, 3, states_18,
1843 "\000\000\000\000\000\000\000\040\000\000\000\000\000\000\000\000\000\000\0 00\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"},
1844 {275, "pass_stmt", 0, 2, states_19, 1859 {275, "pass_stmt", 0, 2, states_19,
1845 "\000\000\000\000\000\000\000\200\000\000\000\000\000\000\000\000\000\000\0 00\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"},
1846 {276, "flow_stmt", 0, 2, states_20, 1861 {276, "flow_stmt", 0, 2, states_20,
1847 "\000\000\000\000\000\000\000\000\340\001\000\000\000\000\000\000\000\000\0 00\000\200"}, 1862 "\000\000\000\000\000\000\000\000\340\001\000\000\000\000\000\000\000\000\0 00\000\200\000"},
1848 {277, "break_stmt", 0, 2, states_21, 1863 {277, "break_stmt", 0, 2, states_21,
1849 "\000\000\000\000\000\000\000\000\040\000\000\000\000\000\000\000\000\000\0 00\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"},
1850 {278, "continue_stmt", 0, 2, states_22, 1865 {278, "continue_stmt", 0, 2, states_22,
1851 "\000\000\000\000\000\000\000\000\100\000\000\000\000\000\000\000\000\000\0 00\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"},
1852 {279, "return_stmt", 0, 3, states_23, 1867 {279, "return_stmt", 0, 3, states_23,
1853 "\000\000\000\000\000\000\000\000\200\000\000\000\000\000\000\000\000\000\0 00\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"},
1854 {280, "yield_stmt", 0, 2, states_24, 1869 {280, "yield_stmt", 0, 2, states_24,
1855 "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\200"}, 1870 "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\200\000"},
1856 {281, "raise_stmt", 0, 5, states_25, 1871 {281, "raise_stmt", 0, 5, states_25,
1857 "\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\000\0 00\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"},
1858 {282, "import_stmt", 0, 2, states_26, 1873 {282, "import_stmt", 0, 2, states_26,
1859 "\000\000\000\000\000\000\000\000\000\022\000\000\000\000\000\000\000\000\0 00\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"},
1860 {283, "import_name", 0, 3, states_27, 1875 {283, "import_name", 0, 3, states_27,
1861 "\000\000\000\000\000\000\000\000\000\020\000\000\000\000\000\000\000\000\0 00\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"},
1862 {284, "import_from", 0, 8, states_28, 1877 {284, "import_from", 0, 8, states_28,
1863 "\000\000\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\000\0 00\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"},
1864 {285, "import_as_name", 0, 4, states_29, 1879 {285, "import_as_name", 0, 4, states_29,
1865 "\000\000\040\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\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"},
1866 {286, "dotted_as_name", 0, 4, states_30, 1881 {286, "dotted_as_name", 0, 4, states_30,
1867 "\000\000\040\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000"}, 1882 "\000\000\040\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"},
1868 {287, "import_as_names", 0, 3, states_31, 1883 {287, "import_as_names", 0, 3, states_31,
1869 "\000\000\040\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000"}, 1884 "\000\000\040\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"},
1870 {288, "dotted_as_names", 0, 2, states_32, 1885 {288, "dotted_as_names", 0, 2, states_32,
1871 "\000\000\040\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000"}, 1886 "\000\000\040\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"},
1872 {289, "dotted_name", 0, 2, states_33, 1887 {289, "dotted_name", 0, 2, states_33,
1873 "\000\000\040\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000"}, 1888 "\000\000\040\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"},
1874 {290, "global_stmt", 0, 3, states_34, 1889 {290, "global_stmt", 0, 3, states_34,
1875 "\000\000\000\000\000\000\000\000\000\000\020\000\000\000\000\000\000\000\0 00\000\000"}, 1890 "\000\000\000\000\000\000\000\000\000\000\020\000\000\000\000\000\000\000\0 00\000\000\000"},
1876 {291, "nonlocal_stmt", 0, 3, states_35, 1891 {291, "nonlocal_stmt", 0, 3, states_35,
1877 "\000\000\000\000\000\000\000\000\000\000\040\000\000\000\000\000\000\000\0 00\000\000"}, 1892 "\000\000\000\000\000\000\000\000\000\000\040\000\000\000\000\000\000\000\0 00\000\000\000"},
1878 {292, "assert_stmt", 0, 5, states_36, 1893 {292, "assert_stmt", 0, 5, states_36,
1879 "\000\000\000\000\000\000\000\000\000\000\100\000\000\000\000\000\000\000\0 00\000\000"}, 1894 "\000\000\000\000\000\000\000\000\000\000\100\000\000\000\000\000\000\000\0 00\000\000\000"},
1880 {293, "compound_stmt", 0, 2, states_37, 1895 {293, "compound_stmt", 0, 2, states_37,
1881 "\000\010\020\000\000\000\000\000\000\000\000\220\045\000\000\000\000\000\0 00\000\004"}, 1896 "\000\010\020\000\000\000\000\000\000\000\000\220\045\000\000\000\000\000\0 00\000\004\000"},
1882 {294, "if_stmt", 0, 8, states_38, 1897 {294, "if_stmt", 0, 8, states_38,
1883 "\000\000\000\000\000\000\000\000\000\000\000\020\000\000\000\000\000\000\0 00\000\000"}, 1898 "\000\000\000\000\000\000\000\000\000\000\000\020\000\000\000\000\000\000\0 00\000\000\000"},
1884 {295, "while_stmt", 0, 8, states_39, 1899 {295, "while_stmt", 0, 8, states_39,
1885 "\000\000\000\000\000\000\000\000\000\000\000\200\000\000\000\000\000\000\0 00\000\000"}, 1900 "\000\000\000\000\000\000\000\000\000\000\000\200\000\000\000\000\000\000\0 00\000\000\000"},
1886 {296, "for_stmt", 0, 10, states_40, 1901 {296, "for_stmt", 0, 10, states_40,
1887 "\000\000\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\0 00\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"},
1888 {297, "try_stmt", 0, 13, states_41, 1903 {297, "try_stmt", 0, 13, states_41,
1889 "\000\000\000\000\000\000\000\000\000\000\000\000\004\000\000\000\000\000\0 00\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"},
1890 {298, "with_stmt", 0, 5, states_42, 1905 {298, "with_stmt", 0, 5, states_42,
1891 "\000\000\000\000\000\000\000\000\000\000\000\000\040\000\000\000\000\000\0 00\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"},
1892 {299, "with_item", 0, 4, states_43, 1907 {299, "with_item", 0, 4, states_43,
1893 "\000\040\040\000\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\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"},
1894 {300, "except_clause", 0, 5, states_44, 1909 {300, "except_clause", 0, 5, states_44,
1895 "\000\000\000\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\0 00\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"},
1896 {301, "suite", 0, 5, states_45, 1911 {301, "suite", 0, 5, states_45,
1897 "\004\040\040\200\000\000\000\240\340\223\160\000\000\200\020\000\000\206\1 20\076\200"}, 1912 "\004\040\040\200\000\000\000\240\340\223\160\000\000\200\020\000\000\206\1 20\076\200\000"},
1898 {302, "test", 0, 6, states_46, 1913 {302, "test", 0, 6, states_46,
1899 "\000\040\040\000\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\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"},
1900 {303, "test_nocond", 0, 2, states_47, 1915 {303, "test_nocond", 0, 2, states_47,
1901 "\000\040\040\000\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\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"},
1902 {304, "lambdef", 0, 5, states_48, 1917 {304, "lambdef", 0, 5, states_48,
1903 "\000\000\000\000\000\000\000\000\000\000\000\000\000\200\000\000\000\000\0 00\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"},
1904 {305, "lambdef_nocond", 0, 5, states_49, 1919 {305, "lambdef_nocond", 0, 5, states_49,
1905 "\000\000\000\000\000\000\000\000\000\000\000\000\000\200\000\000\000\000\0 00\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"},
1906 {306, "or_test", 0, 2, states_50, 1921 {306, "or_test", 0, 2, states_50,
1907 "\000\040\040\000\000\000\000\000\000\200\000\000\000\000\020\000\000\206\1 20\076\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"},
1908 {307, "and_test", 0, 2, states_51, 1923 {307, "and_test", 0, 2, states_51,
1909 "\000\040\040\000\000\000\000\000\000\200\000\000\000\000\020\000\000\206\1 20\076\000"}, 1924 "\000\040\040\000\000\000\000\000\000\200\000\000\000\000\020\000\000\206\1 20\076\000\000"},
1910 {308, "not_test", 0, 3, states_52, 1925 {308, "not_test", 0, 3, states_52,
1911 "\000\040\040\000\000\000\000\000\000\200\000\000\000\000\020\000\000\206\1 20\076\000"}, 1926 "\000\040\040\000\000\000\000\000\000\200\000\000\000\000\020\000\000\206\1 20\076\000\000"},
1912 {309, "comparison", 0, 2, states_53, 1927 {309, "comparison", 0, 2, states_53,
1913 "\000\040\040\000\000\000\000\000\000\200\000\000\000\000\000\000\000\206\1 20\076\000"}, 1928 "\000\040\040\000\000\000\000\000\000\200\000\000\000\000\000\000\000\206\1 20\076\000\000"},
1914 {310, "comp_op", 0, 4, states_54, 1929 {310, "comp_op", 0, 4, states_54,
1915 "\000\000\000\000\000\000\000\000\000\000\000\000\002\000\220\177\000\000\0 00\000\000"}, 1930 "\000\000\000\000\000\000\000\000\000\000\000\000\002\000\220\177\000\000\0 00\000\000\000"},
1916 {311, "star_expr", 0, 3, states_55, 1931 {311, "star_expr", 0, 3, states_55,
1917 "\000\000\000\200\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000"}, 1932 "\000\000\000\200\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\000\000"},
1918 {312, "expr", 0, 2, states_56, 1933 {312, "expr", 0, 2, states_56,
1919 "\000\040\040\000\000\000\000\000\000\200\000\000\000\000\000\000\000\206\1 20\076\000"}, 1934 "\000\040\040\000\000\000\000\000\000\200\000\000\000\000\000\000\000\206\1 20\076\000\000"},
1920 {313, "xor_expr", 0, 2, states_57, 1935 {313, "xor_expr", 0, 2, states_57,
1921 "\000\040\040\000\000\000\000\000\000\200\000\000\000\000\000\000\000\206\1 20\076\000"}, 1936 "\000\040\040\000\000\000\000\000\000\200\000\000\000\000\000\000\000\206\1 20\076\000\000"},
1922 {314, "and_expr", 0, 2, states_58, 1937 {314, "and_expr", 0, 2, states_58,
1923 "\000\040\040\000\000\000\000\000\000\200\000\000\000\000\000\000\000\206\1 20\076\000"}, 1938 "\000\040\040\000\000\000\000\000\000\200\000\000\000\000\000\000\000\206\1 20\076\000\000"},
1924 {315, "shift_expr", 0, 2, states_59, 1939 {315, "shift_expr", 0, 2, states_59,
1925 "\000\040\040\000\000\000\000\000\000\200\000\000\000\000\000\000\000\206\1 20\076\000"}, 1940 "\000\040\040\000\000\000\000\000\000\200\000\000\000\000\000\000\000\206\1 20\076\000\000"},
1926 {316, "arith_expr", 0, 2, states_60, 1941 {316, "arith_expr", 0, 2, states_60,
1927 "\000\040\040\000\000\000\000\000\000\200\000\000\000\000\000\000\000\206\1 20\076\000"}, 1942 "\000\040\040\000\000\000\000\000\000\200\000\000\000\000\000\000\000\206\1 20\076\000\000"},
1928 {317, "term", 0, 2, states_61, 1943 {317, "term", 0, 2, states_61,
1929 "\000\040\040\000\000\000\000\000\000\200\000\000\000\000\000\000\000\206\1 20\076\000"}, 1944 "\000\040\040\000\000\000\000\000\000\200\000\000\000\000\000\000\000\206\1 20\076\000\000"},
1930 {318, "factor", 0, 3, states_62, 1945 {318, "factor", 0, 3, states_62,
1931 "\000\040\040\000\000\000\000\000\000\200\000\000\000\000\000\000\000\206\1 20\076\000"}, 1946 "\000\040\040\000\000\000\000\000\000\200\000\000\000\000\000\000\000\206\1 20\076\000\000"},
1932 {319, "power", 0, 4, states_63, 1947 {319, "power", 0, 4, states_63,
1933 "\000\040\040\000\000\000\000\000\000\200\000\000\000\000\000\000\000\000\1 20\076\000"}, 1948 "\000\040\040\000\000\000\000\000\000\200\000\000\000\000\000\000\000\000\1 20\076\000\000"},
1934 {320, "atom", 0, 9, states_64, 1949 {320, "atom", 0, 9, states_64,
1935 "\000\040\040\000\000\000\000\000\000\200\000\000\000\000\000\000\000\000\1 20\076\000"}, 1950 "\000\040\040\000\000\000\000\000\000\200\000\000\000\000\000\000\000\000\1 20\076\000\000"},
1936 {321, "testlist_comp", 0, 5, states_65, 1951 {321, "testlist_comp", 0, 5, states_65,
1937 "\000\040\040\200\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000"}, 1952 "\000\040\040\200\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000\000"},
1938 {322, "trailer", 0, 7, states_66, 1953 {322, "trailer", 0, 7, states_66,
1939 "\000\040\000\000\000\000\000\000\000\100\000\000\000\000\000\000\000\000\0 20\000\000"}, 1954 "\000\040\000\000\000\000\000\000\000\100\000\000\000\000\000\000\000\000\0 20\000\000\000"},
1940 {323, "subscriptlist", 0, 3, states_67, 1955 {323, "subscriptlist", 0, 3, states_67,
1941 "\000\040\040\002\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000"}, 1956 "\000\040\040\002\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000\000"},
1942 {324, "subscript", 0, 5, states_68, 1957 {324, "subscript", 0, 5, states_68,
1943 "\000\040\040\002\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000"}, 1958 "\000\040\040\002\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000\000"},
1944 {325, "sliceop", 0, 3, states_69, 1959 {325, "sliceop", 0, 3, states_69,
1945 "\000\000\000\002\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\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"},
1946 {326, "exprlist", 0, 3, states_70, 1961 {326, "exprlist", 0, 3, states_70,
1947 "\000\040\040\200\000\000\000\000\000\200\000\000\000\000\000\000\000\206\1 20\076\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"},
1948 {327, "testlist", 0, 3, states_71, 1963 {327, "testlist", 0, 3, states_71,
1949 "\000\040\040\000\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\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"},
1950 {328, "dictorsetmaker", 0, 11, states_72, 1965 {328, "dictorsetmaker", 0, 11, states_72,
1951 "\000\040\040\000\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\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"},
1952 {329, "classdef", 0, 8, states_73, 1967 {329, "classdef", 0, 8, states_73,
1953 "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\004"}, 1968 "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\004\000"},
1954 {330, "arglist", 0, 8, states_74, 1969 {330, "arglist", 0, 8, states_74,
1955 "\000\040\040\200\001\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000"}, 1970 "\000\040\040\200\001\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000\000"},
1956 {331, "argument", 0, 4, states_75, 1971 {331, "argument", 0, 4, states_75,
1957 "\000\040\040\000\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000"}, 1972 "\000\040\040\000\000\000\000\000\000\200\000\000\000\200\020\000\000\206\1 20\076\000\000"},
1958 {332, "comp_iter", 0, 2, states_76, 1973 {332, "comp_iter", 0, 2, states_76,
1959 "\000\000\000\000\000\000\000\000\000\000\000\020\001\000\000\000\000\000\0 00\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"},
1960 {333, "comp_for", 0, 6, states_77, 1975 {333, "comp_for", 0, 6, states_77,
1961 "\000\000\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\0 00\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"},
1962 {334, "comp_if", 0, 4, states_78, 1977 {334, "comp_if", 0, 4, states_78,
1963 "\000\000\000\000\000\000\000\000\000\000\000\020\000\000\000\000\000\000\0 00\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"},
1964 {335, "encoding_decl", 0, 2, states_79, 1979 {335, "encoding_decl", 0, 2, states_79,
1965 "\000\000\040\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\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"},
1966 {336, "yield_expr", 0, 3, states_80, 1981 {336, "yield_expr", 0, 3, states_80,
1967 "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\200"}, 1982 "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\0 00\000\200\000"},
1983 {337, "yield_arg", 0, 3, states_81,
1984 "\000\040\040\000\000\000\000\000\000\202\000\000\000\200\020\000\000\206\1 20\076\000\000"},
1968 }; 1985 };
1969 static label labels[168] = { 1986 static label labels[169] = {
1970 {0, "EMPTY"}, 1987 {0, "EMPTY"},
1971 {256, 0}, 1988 {256, 0},
1972 {4, 0}, 1989 {4, 0},
1973 {269, 0}, 1990 {269, 0},
1974 {293, 0}, 1991 {293, 0},
1975 {257, 0}, 1992 {257, 0},
1976 {268, 0}, 1993 {268, 0},
1977 {0, 0}, 1994 {0, 0},
1978 {258, 0}, 1995 {258, 0},
1979 {327, 0}, 1996 {327, 0},
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
2128 {333, 0}, 2145 {333, 0},
2129 {323, 0}, 2146 {323, 0},
2130 {324, 0}, 2147 {324, 0},
2131 {325, 0}, 2148 {325, 0},
2132 {1, "class"}, 2149 {1, "class"},
2133 {331, 0}, 2150 {331, 0},
2134 {332, 0}, 2151 {332, 0},
2135 {334, 0}, 2152 {334, 0},
2136 {335, 0}, 2153 {335, 0},
2137 {1, "yield"}, 2154 {1, "yield"},
2155 {337, 0},
2138 }; 2156 };
2139 grammar _PyParser_Grammar = { 2157 grammar _PyParser_Grammar = {
2140 81, 2158 82,
2141 dfas, 2159 dfas,
2142 {168, labels}, 2160 {169, labels},
2143 256 2161 256
2144 }; 2162 };
OLDNEW
« no previous file with comments | « Python/compile.c ('k') | Python/opcode_targets.h » ('j') | no next file with comments »

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