move LINENO define to where it actually belongs

This commit is contained in:
Benjamin Peterson 2012-01-16 17:29:05 -05:00
parent 55e0043a51
commit c0beabc2a5
2 changed files with 1 additions and 4 deletions

View file

@ -28,6 +28,7 @@ PyAPI_FUNC(void) PyNode_Free(node *n);
#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))