Mercurial > cpython-lru_cache-weakref
diff Modules/parsermodule.c @ 36786:57322cb2ca11 legacy-trunk
Patch #1440601: Add col_offset attribute to AST nodes.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Wed, 01 Mar 2006 22:49:05 +0000 |
| parents | 5c36c222e7ca |
| children | 8d42f661fec8 f731859e9b3b |
line wrap: on
line diff
--- a/Modules/parsermodule.c Wed Mar 01 22:45:36 2006 +0000 +++ b/Modules/parsermodule.c Wed Mar 01 22:49:05 2006 +0000 @@ -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();
