diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-01-16 22:29:05 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-01-16 22:29:05 (GMT) |
commit | c0beabc2a57f6599a411d3b5579dd6c64ffd47b7 (patch) | |
tree | 2f71f7d837736869832e0e32713ba4f02ca83a0d /Include | |
parent | 55e0043a5129fc7dfa2333a146475d62b347f5f0 (diff) | |
download | cpython-c0beabc2a57f6599a411d3b5579dd6c64ffd47b7.zip cpython-c0beabc2a57f6599a411d3b5579dd6c64ffd47b7.tar.gz cpython-c0beabc2a57f6599a411d3b5579dd6c64ffd47b7.tar.bz2 |
move LINENO define to where it actually belongs
Diffstat (limited to 'Include')
-rw-r--r-- | Include/node.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/node.h b/Include/node.h index e23e709..d161195 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)) |