diff options
author | Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com> | 2020-05-08 20:58:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-08 20:58:28 (GMT) |
commit | d10091aa171250c67a5079abfe26b8b3964ea39a (patch) | |
tree | f6b17bf6f4324ef14118bd43d632add6c35666be /Parser | |
parent | 81a5fc38e81b424869f4710f48e9371dfa2d3b77 (diff) | |
download | cpython-d10091aa171250c67a5079abfe26b8b3964ea39a.zip cpython-d10091aa171250c67a5079abfe26b8b3964ea39a.tar.gz cpython-d10091aa171250c67a5079abfe26b8b3964ea39a.tar.bz2 |
bpo-40502: Initialize n->n_col_offset (GH-19988)
* initialize n->n_col_offset
* 📜🤖 Added by blurb_it.
* Move initialization
Co-authored-by: nanjekyejoannah <joannah.nanjekye@ibm.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Diffstat (limited to 'Parser')
-rw-r--r-- | Parser/node.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Parser/node.c b/Parser/node.c index f1b70e0..8789e01 100644 --- a/Parser/node.c +++ b/Parser/node.c @@ -14,6 +14,7 @@ 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; |