summaryrefslogtreecommitdiffstats
path: root/Python/graminit.c
diff options
context:
space:
mode:
authorMeador Inge <meadori@gmail.com>2012-01-16 01:31:57 (GMT)
committerMeador Inge <meadori@gmail.com>2012-01-16 01:31:57 (GMT)
commitda05f454e339b48d31b70f4c43e18cd31a15d434 (patch)
tree3cdcfe9cff786c4cca07a66e7db42e09b9fccc6d /Python/graminit.c
parent2d496005fdd918190a09ddceed69baee8d9c8bf5 (diff)
parent33880601273ec60572df3dfe5f781f34893bbafb (diff)
downloadcpython-da05f454e339b48d31b70f4c43e18cd31a15d434.zip
cpython-da05f454e339b48d31b70f4c43e18cd31a15d434.tar.gz
cpython-da05f454e339b48d31b70f4c43e18cd31a15d434.tar.bz2
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 e91e09f..e04999b 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"},