summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-02-16 22:18:00 +0000
committerGuido van Rossum <guido@python.org>1998-02-16 22:18:00 +0000
commit54758fa8ca97123b48b6887d13eaffa642aabc48 (patch)
tree802371cf5a6107be6653d38794c69c0facd4bc13
parentfac431e7d5e7013ceef5f3caa4dc2826aa4f77de (diff)
downloadcpython-git-54758fa8ca97123b48b6887d13eaffa642aabc48.tar.gz
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...
-rw-r--r--Parser/tokenizer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c
index ce397df457..21583acabc 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,