8000 bpo-40502: Initialize n->n_col_offset by nanjekyejoannah · Pull Request #19988 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Move initialization
  • Loading branch information
nanjekyejoannah committed May 8, 2020
commit 7d5e737629636805a8e0f6a2d9825aab99d7d7d5
2 changes: 1 addition & 1 deletion Parser/node.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ PyNode_New(int type)
n->n_str = NULL;
n->n_lineno = 0;
n->n_end_lineno = 0;
n->n_col_offset = 0;
n->n_end_col_offset = -1;
n->n_nchildren = 0;
n->n_child = NULL;
n->n_col_offset = 0;
return n;
}

Expand Down
0