mirror of https://github.com/python/cpython
bpo-42864: Fix compiler warning in the tokenizer with the new paren stack for column numbers (GH-24266)
This commit is contained in:
parent
e982fe496b
commit
ae7d3cd980
|
@ -1820,7 +1820,7 @@ tok_get(struct tok_state *tok, const char **p_start, const char **p_end)
|
|||
}
|
||||
tok->parenstack[tok->level] = c;
|
||||
tok->parenlinenostack[tok->level] = tok->lineno;
|
||||
tok->parencolstack[tok->level] = tok->start - tok->line_start;
|
||||
tok->parencolstack[tok->level] = (int)(tok->start - tok->line_start);
|
||||
tok->level++;
|
||||
break;
|
||||
case ')':
|
||||
|
|
Loading…
Reference in New Issue