diff options
author | Guido van Rossum <guido@python.org> | 1998-02-16 22:18:00 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-02-16 22:18:00 (GMT) |
commit | 54758fa8ca97123b48b6887d13eaffa642aabc48 (patch) | |
tree | 802371cf5a6107be6653d38794c69c0facd4bc13 /Parser/tokenizer.c | |
parent | fac431e7d5e7013ceef5f3caa4dc2826aa4f77de (diff) | |
download | cpython-54758fa8ca97123b48b6887d13eaffa642aabc48.zip cpython-54758fa8ca97123b48b6887d13eaffa642aabc48.tar.gz cpython-54758fa8ca97123b48b6887d13eaffa642aabc48.tar.bz2 |
Swap two statements in the dedent check loop. This makes absolutely
no difference, but avoids triggering an optimizer bug in the AIX
compiler where the loop unrolling does the wrong thing...
Diffstat (limited to 'Parser/tokenizer.c')
-rw-r--r-- | Parser/tokenizer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index ce397df..21583ac 100644 --- a/Parser/tokenizer.c +++ b/Parser/tokenizer.c @@ -485,8 +485,8 @@ PyTokenizer_Get(tok, p_start, p_end) /* Dedent -- any number, must be consistent */ while (tok->indent > 0 && col < tok->indstack[tok->indent]) { - tok->indent--; tok->pendin--; + tok->indent--; } if (col != tok->indstack[tok->indent]) { fprintf(stderr, |