Thanks to visit codestin.com
Credit goes to codereview.appspot.com

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

Side by Side Diff: Python/graminit.c

Issue 53094: Multi with statement Base URL: http://svn.python.org/view/*checkout*/python/trunk/
Patch Set: Version after review by Benjamin Created 16 years, 12 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/ast.c ('k') | no next file » | 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 883 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 {4, arcs_40_8}, 894 {4, arcs_40_8},
895 {1, arcs_40_9}, 895 {1, arcs_40_9},
896 {1, arcs_40_10}, 896 {1, arcs_40_10},
897 {1, arcs_40_11}, 897 {1, arcs_40_11},
898 {2, arcs_40_12}, 898 {2, arcs_40_12},
899 }; 899 };
900 static arc arcs_41_0[1] = { 900 static arc arcs_41_0[1] = {
901 {100, 1}, 901 {100, 1},
902 }; 902 };
903 static arc arcs_41_1[1] = { 903 static arc arcs_41_1[1] = {
904 » {28, 2}, 904 » {101, 2},
905 }; 905 };
906 static arc arcs_41_2[2] = { 906 static arc arcs_41_2[2] = {
907 » {101, 3}, 907 » {29, 1},
908 » {23, 4}, 908 » {23, 3},
909 }; 909 };
910 static arc arcs_41_3[1] = { 910 static arc arcs_41_3[1] = {
911 » {23, 4}, 911 » {24, 4},
912 }; 912 };
913 static arc arcs_41_4[1] = { 913 static arc arcs_41_4[1] = {
914 » {24, 5}, 914 » {0, 4},
915 }; 915 };
916 static arc arcs_41_5[1] = { 916 static state states_41[5] = {
917 » {0, 5},
918 };
919 static state states_41[6] = {
920 {1, arcs_41_0}, 917 {1, arcs_41_0},
921 {1, arcs_41_1}, 918 {1, arcs_41_1},
922 {2, arcs_41_2}, 919 {2, arcs_41_2},
923 {1, arcs_41_3}, 920 {1, arcs_41_3},
924 {1, arcs_41_4}, 921 {1, arcs_41_4},
925 {1, arcs_41_5},
926 }; 922 };
927 static arc arcs_42_0[1] = { 923 static arc arcs_42_0[1] = {
928 » {80, 1}, 924 » {28, 1},
929 }; 925 };
930 static arc arcs_42_1[1] = { 926 static arc arcs_42_1[2] = {
931 » {84, 2}, 927 » {80, 2},
928 » {0, 1},
932 }; 929 };
933 static arc arcs_42_2[1] = { 930 static arc arcs_42_2[1] = {
934 » {0, 2}, 931 » {84, 3},
935 }; 932 };
936 static state states_42[3] = { 933 static arc arcs_42_3[1] = {
934 » {0, 3},
935 };
936 static state states_42[4] = {
937 {1, arcs_42_0}, 937 {1, arcs_42_0},
938 » {1, arcs_42_1}, 938 » {2, arcs_42_1},
939 {1, arcs_42_2}, 939 {1, arcs_42_2},
940 {1, arcs_42_3},
940 }; 941 };
941 static arc arcs_43_0[1] = { 942 static arc arcs_43_0[1] = {
942 {102, 1}, 943 {102, 1},
943 }; 944 };
944 static arc arcs_43_1[2] = { 945 static arc arcs_43_1[2] = {
945 {28, 2}, 946 {28, 2},
946 {0, 1}, 947 {0, 1},
947 }; 948 };
948 static arc arcs_43_2[3] = { 949 static arc arcs_43_2[3] = {
949 {80, 3}, 950 {80, 3},
(...skipping 920 matching lines...) Expand 10 before | Expand all | Expand 10 after
1870 {292, "compound_stmt", 0, 2, states_36, 1871 {292, "compound_stmt", 0, 2, states_36,
1871 "\000\010\020\000\000\000\000\000\000\000\000\220\023\000\000\000\000\0 00\000\000\002\000"}, 1872 "\000\010\020\000\000\000\000\000\000\000\000\220\023\000\000\000\000\0 00\000\000\002\000"},
1872 {293, "if_stmt", 0, 8, states_37, 1873 {293, "if_stmt", 0, 8, states_37,
1873 "\000\000\000\000\000\000\000\000\000\000\000\020\000\000\000\000\000\0 00\000\000\000\000"}, 1874 "\000\000\000\000\000\000\000\000\000\000\000\020\000\000\000\000\000\0 00\000\000\000\000"},
1874 {294, "while_stmt", 0, 8, states_38, 1875 {294, "while_stmt", 0, 8, states_38,
1875 "\000\000\000\000\000\000\000\000\000\000\000\200\000\000\000\000\000\0 00\000\000\000\000"}, 1876 "\000\000\000\000\000\000\000\000\000\000\000\200\000\000\000\000\000\0 00\000\000\000\000"},
1876 {295, "for_stmt", 0, 10, states_39, 1877 {295, "for_stmt", 0, 10, states_39,
1877 "\000\000\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\0 00\000\000\000\000"}, 1878 "\000\000\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\0 00\000\000\000\000"},
1878 {296, "try_stmt", 0, 13, states_40, 1879 {296, "try_stmt", 0, 13, states_40,
1879 "\000\000\000\000\000\000\000\000\000\000\000\000\002\000\000\000\000\0 00\000\000\000\000"}, 1880 "\000\000\000\000\000\000\000\000\000\000\000\000\002\000\000\000\000\0 00\000\000\000\000"},
1880 » {297, "with_stmt", 0, 6, states_41, 1881 » {297, "with_stmt", 0, 5, states_41,
1881 "\000\000\000\000\000\000\000\000\000\000\000\000\020\000\000\000\000\0 00\000\000\000\000"}, 1882 "\000\000\000\000\000\000\000\000\000\000\000\000\020\000\000\000\000\0 00\000\000\000\000"},
1882 » {298, "with_var", 0, 3, states_42, 1883 » {298, "with_item", 0, 4, states_42,
1883 » "\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\0 00\000\000\000\000"}, 1884 » "\000\040\040\000\000\000\000\000\000\000\000\000\000\040\010\000\200\0 41\044\015\000\000"},
1884 {299, "except_clause", 0, 5, states_43, 1885 {299, "except_clause", 0, 5, states_43,
1885 "\000\000\000\000\000\000\000\000\000\000\000\000\100\000\000\000\000\0 00\000\000\000\000"}, 1886 "\000\000\000\000\000\000\000\000\000\000\000\000\100\000\000\000\000\0 00\000\000\000\000"},
1886 {300, "suite", 0, 5, states_44, 1887 {300, "suite", 0, 5, states_44,
1887 "\004\040\040\000\000\000\000\124\360\024\114\000\000\040\010\000\200\0 41\044\015\000\001"}, 1888 "\004\040\040\000\000\000\000\124\360\024\114\000\000\040\010\000\200\0 41\044\015\000\001"},
1888 {301, "testlist_safe", 0, 5, states_45, 1889 {301, "testlist_safe", 0, 5, states_45,
1889 "\000\040\040\000\000\000\000\000\000\000\000\000\000\040\010\000\200\0 41\044\015\000\000"}, 1890 "\000\040\040\000\000\000\000\000\000\000\000\000\000\040\010\000\200\0 41\044\015\000\000"},
1890 {302, "old_test", 0, 2, states_46, 1891 {302, "old_test", 0, 2, states_46,
1891 "\000\040\040\000\000\000\000\000\000\000\000\000\000\040\010\000\200\0 41\044\015\000\000"}, 1892 "\000\040\040\000\000\000\000\000\000\000\000\000\000\040\010\000\200\0 41\044\015\000\000"},
1892 {303, "old_lambdef", 0, 5, states_47, 1893 {303, "old_lambdef", 0, 5, states_47,
1893 "\000\000\000\000\000\000\000\000\000\000\000\000\000\040\000\000\000\0 00\000\000\000\000"}, 1894 "\000\000\000\000\000\000\000\000\000\000\000\000\000\040\000\000\000\0 00\000\000\000\000"},
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
2136 {337, 0}, 2137 {337, 0},
2137 {339, 0}, 2138 {339, 0},
2138 {1, "yield"}, 2139 {1, "yield"},
2139 }; 2140 };
2140 grammar _PyParser_Grammar = { 2141 grammar _PyParser_Grammar = {
2141 85, 2142 85,
2142 dfas, 2143 dfas,
2143 {169, labels}, 2144 {169, labels},
2144 256 2145 256
2145 }; 2146 };
OLDNEW
« no previous file with comments | « Python/ast.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b