Mercurial > cpython-lru_cache-weakref
diff Include/node.h @ 74458:169fbbac2dec
move LINENO define to where it actually belongs
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Mon, 16 Jan 2012 17:29:05 -0500 |
| parents | 57322cb2ca11 |
| children | f7248550059c |
line wrap: on
line diff
--- a/Include/node.h Mon Jan 16 17:22:31 2012 -0500 +++ b/Include/node.h Mon Jan 16 17:29:05 2012 -0500 @@ -28,6 +28,7 @@ #define RCHILD(n, i) (CHILD(n, NCH(n) + i)) #define TYPE(n) ((n)->n_type) #define STR(n) ((n)->n_str) +#define LINENO(n) ((n)->n_lineno) /* Assert that the type of a node is what we expect */ #define REQ(n, type) assert(TYPE(n) == (type))
