From: Guido van Rossum Date: Mon, 16 Feb 1998 22:18:00 +0000 (+0000) Subject: Swap two statements in the dedent check loop. This makes absolutely X-Git-Tag: v1.5.1~730 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=54758fa8ca97123b48b6887d13eaffa642aabc48;p=python 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... --- 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,