summaryrefslogtreecommitdiff
path: root/Include/symtable.h
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2012-11-04 23:53:15 +1000
committerNick Coghlan <ncoghlan@gmail.com>2012-11-04 23:53:15 +1000
commite69bfc3fb6b8f241831d06b0dc9561ce9ac0ef8d (patch)
treeb857f6544e2e899c7feb5c5180be8836d9d71c16 /Include/symtable.h
parentc992fafddc6a2920084d2bce63d50d49f11854a0 (diff)
parentaab9c2b2ead7b786947c367a9cc5d9c921b9ea99 (diff)
downloadcpython-git-e69bfc3fb6b8f241831d06b0dc9561ce9ac0ef8d.tar.gz
Issue #5765: Merge from 3.3
Diffstat (limited to 'Include/symtable.h')
-rw-r--r--Include/symtable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/symtable.h b/Include/symtable.h
index bb39273b0c..4d82f0cf49 100644
--- a/Include/symtable.h
+++ b/Include/symtable.h
@@ -30,6 +30,8 @@ struct symtable {
PyObject *st_private; /* name of current class or NULL */
PyFutureFeatures *st_future; /* module's future features that affect
the symbol table */
+ int recursion_depth; /* current recursion depth */
+ int recursion_limit; /* recursion limit */
};
typedef struct _symtable_entry {