summaryrefslogtreecommitdiff
path: root/Python/graminit.c
diff options
context:
space:
mode:
authorMeador Inge <meadori@gmail.com>2012-01-15 19:31:57 -0600
committerMeador Inge <meadori@gmail.com>2012-01-15 19:31:57 -0600
commitf336f41c93e330efcd4254628575ac1ca3234471 (patch)
tree174424c5685600ea1fa9d3fd669ff40b5c8b5f8a /Python/graminit.c
parentb5b4eb196d0b4624cb66736b126616cabe85e0e0 (diff)
parent597d29ba18e75d535b7d8e033dc6ebb5c8b78396 (diff)
downloadcpython-f336f41c93e330efcd4254628575ac1ca3234471.tar.gz
Issue #13629: Renumber the tokens in token.h to match the _PyParser_TokenNames indexes.
Diffstat (limited to 'Python/graminit.c')
-rw-r--r--Python/graminit.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/Python/graminit.c b/Python/graminit.c
index e91e09ff93..e04999bbff 100644
--- a/Python/graminit.c
+++ b/Python/graminit.c
@@ -1995,7 +1995,7 @@ static label labels[169] = {
{258, 0},
{327, 0},
{259, 0},
- {50, 0},
+ {49, 0},
{289, 0},
{7, 0},
{330, 0},
@@ -2007,7 +2007,7 @@ static label labels[169] = {
{1, "def"},
{1, 0},
{263, 0},
- {51, 0},
+ {50, 0},
{302, 0},
{11, 0},
{301, 0},
@@ -2016,7 +2016,7 @@ static label labels[169] = {
{22, 0},
{12, 0},
{16, 0},
- {36, 0},
+ {35, 0},
{266, 0},
{267, 0},
{270, 0},
@@ -2033,6 +2033,7 @@ static label labels[169] = {
{273, 0},
{336, 0},
{311, 0},
+ {36, 0},
{37, 0},
{38, 0},
{39, 0},
@@ -2043,8 +2044,7 @@ static label labels[169] = {
{44, 0},
{45, 0},
{46, 0},
- {47, 0},
- {49, 0},
+ {48, 0},
{1, "del"},
{326, 0},
{1, "pass"},
@@ -2063,7 +2063,7 @@ static label labels[169] = {
{1, "import"},
{288, 0},
{23, 0},
- {52, 0},
+ {51, 0},
{287, 0},
{285, 0},
{1, "as"},
@@ -2105,38 +2105,38 @@ static label labels[169] = {
{310, 0},
{20, 0},
{21, 0},
- {28, 0},
- {31, 0},
+ {27, 0},
{30, 0},
{29, 0},
- {29, 0},
+ {28, 0},
+ {28, 0},
{1, "is"},
{313, 0},
{18, 0},
{314, 0},
- {33, 0},
+ {32, 0},
{315, 0},
{19, 0},
{316, 0},
+ {33, 0},
{34, 0},
- {35, 0},
{317, 0},
{14, 0},
{15, 0},
{318, 0},
{17, 0},
{24, 0},
- {48, 0},
- {32, 0},
+ {47, 0},
+ {31, 0},
{319, 0},
{320, 0},
{322, 0},
{321, 0},
{9, 0},
{10, 0},
- {26, 0},
+ {25, 0},
{328, 0},
- {27, 0},
+ {26, 0},
{2, 0},
{3, 0},
{1, "None"},