diff options
author | Yury Selivanov <yury@magic.io> | 2016-09-09 17:36:01 (GMT) |
---|---|---|
committer | Yury Selivanov <yury@magic.io> | 2016-09-09 17:36:01 (GMT) |
commit | 52c4e7cc84702750bb75d5423da01d01bcdfdf39 (patch) | |
tree | 01ebfe1725b4169baefa4e76aeaeffcd25153f3b /Python/graminit.c | |
parent | 93b2dee80e5d72cf12522d773b512097493c09fc (diff) | |
download | cpython-52c4e7cc84702750bb75d5423da01d01bcdfdf39.zip cpython-52c4e7cc84702750bb75d5423da01d01bcdfdf39.tar.gz cpython-52c4e7cc84702750bb75d5423da01d01bcdfdf39.tar.bz2 |
Issue #28008: Implement PEP 530 -- asynchronous comprehensions.
Diffstat (limited to 'Python/graminit.c')
-rw-r--r-- | Python/graminit.c | 37 |
1 files changed, 21 insertions, 16 deletions
diff --git a/Python/graminit.c b/Python/graminit.c index c11b831..f2584e0 100644 --- a/Python/graminit.c +++ b/Python/graminit.c @@ -1812,32 +1812,37 @@ static state states_80[2] = { {2, arcs_80_0}, {1, arcs_80_1}, }; -static arc arcs_81_0[1] = { - {101, 1}, +static arc arcs_81_0[2] = { + {21, 1}, + {101, 2}, }; static arc arcs_81_1[1] = { - {66, 2}, + {101, 2}, }; static arc arcs_81_2[1] = { - {102, 3}, + {66, 3}, }; static arc arcs_81_3[1] = { - {112, 4}, + {102, 4}, }; -static arc arcs_81_4[2] = { - {171, 5}, - {0, 4}, +static arc arcs_81_4[1] = { + {112, 5}, }; -static arc arcs_81_5[1] = { +static arc arcs_81_5[2] = { + {171, 6}, {0, 5}, }; -static state states_81[6] = { - {1, arcs_81_0}, +static arc arcs_81_6[1] = { + {0, 6}, +}; +static state states_81[7] = { + {2, arcs_81_0}, {1, arcs_81_1}, {1, arcs_81_2}, {1, arcs_81_3}, - {2, arcs_81_4}, - {1, arcs_81_5}, + {1, arcs_81_4}, + {2, arcs_81_5}, + {1, arcs_81_6}, }; static arc arcs_82_0[1] = { {97, 1}, @@ -2060,9 +2065,9 @@ static dfa dfas[86] = { {335, "argument", 0, 4, states_79, "\000\040\200\000\006\000\000\000\000\000\010\000\000\000\020\002\000\300\220\050\037\000"}, {336, "comp_iter", 0, 2, states_80, - "\000\000\000\000\000\000\000\000\000\000\000\000\042\000\000\000\000\000\000\000\000\000"}, - {337, "comp_for", 0, 6, states_81, - "\000\000\000\000\000\000\000\000\000\000\000\000\040\000\000\000\000\000\000\000\000\000"}, + "\000\000\040\000\000\000\000\000\000\000\000\000\042\000\000\000\000\000\000\000\000\000"}, + {337, "comp_for", 0, 7, states_81, + "\000\000\040\000\000\000\000\000\000\000\000\000\040\000\000\000\000\000\000\000\000\000"}, {338, "comp_if", 0, 4, states_82, "\000\000\000\000\000\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\000\000"}, {339, "encoding_decl", 0, 2, states_83, |