From 54758fa8ca97123b48b6887d13eaffa642aabc48 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 16 Feb 1998 22:18:00 +0000 Subject: [PATCH] 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... --- Parser/tokenizer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index ce397df4578..21583acabc1 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,