Kaydet (Commit) 54758fa8 authored tarafından Guido van Rossum's avatar Guido van Rossum

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...
üst fac431e7
...@@ -485,8 +485,8 @@ PyTokenizer_Get(tok, p_start, p_end) ...@@ -485,8 +485,8 @@ PyTokenizer_Get(tok, p_start, p_end)
/* Dedent -- any number, must be consistent */ /* Dedent -- any number, must be consistent */
while (tok->indent > 0 && while (tok->indent > 0 &&
col < tok->indstack[tok->indent]) { col < tok->indstack[tok->indent]) {
tok->indent--;
tok->pendin--; tok->pendin--;
tok->indent--;
} }
if (col != tok->indstack[tok->indent]) { if (col != tok->indstack[tok->indent]) {
fprintf(stderr, fprintf(stderr,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment