Mercurial > cpython-lru_cache-weakref
diff Parser/parser.h @ 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 | bbf16fd024df |
| children | ca5f2f960617 |
line wrap: on
line diff
--- a/Parser/parser.h Wed Mar 01 22:45:36 2006 +0000 +++ b/Parser/parser.h Wed Mar 01 22:49:05 2006 +0000 @@ -32,7 +32,7 @@ parser_state *PyParser_New(grammar *g, int start); void PyParser_Delete(parser_state *ps); -int PyParser_AddToken(parser_state *ps, int type, char *str, int lineno, +int PyParser_AddToken(parser_state *ps, int type, char *str, int lineno, int col_offset, int *expected_ret); void PyGrammar_AddAccelerators(grammar *g);
