commit | 49c5da1d88f605248167f4d95b1dfe08c1f703c7 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Wed Mar 01 22:49:05 2006 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Wed Mar 01 22:49:05 2006 +0000 |
tree | 7c7c6ee02daee4f5a2dd3a3fb7b22a5910ec15d2 | |
parent | 3ffa59b137a0c1f80b5fd495cc3d25d4ef21e0c0 [diff] [blame] |
Patch #1440601: Add col_offset attribute to AST nodes.
diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c index 0dcb50f..83165ba 100644 --- a/Modules/parsermodule.c +++ b/Modules/parsermodule.c
@@ -715,7 +715,7 @@ Py_XDECREF(elem); return (0); } - err = PyNode_AddChild(root, type, strn, *line_num); + err = PyNode_AddChild(root, type, strn, *line_num, 0); if (err == E_NOMEM) { PyMem_DEL(strn); return (node *) PyErr_NoMemory();