summaryrefslogtreecommitdiff
path: root/Include/node.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/node.h')
-rw-r--r--Include/node.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/node.h b/Include/node.h
index e23e709fff..d161195b23 100644
--- a/Include/node.h
+++ b/Include/node.h
@@ -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))