diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-08-17 18:02:44 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-08-17 18:02:44 (GMT) |
commit | 55e00f279f6e662f0f7cfc53398fa854d9666e09 (patch) | |
tree | ea6b31b08ddcc6011d969e69feb52888e2890510 /Include | |
parent | 8ba92f65021900ac088aed3f65f8650efab5d416 (diff) | |
download | cpython-55e00f279f6e662f0f7cfc53398fa854d9666e09.zip cpython-55e00f279f6e662f0f7cfc53398fa854d9666e09.tar.gz cpython-55e00f279f6e662f0f7cfc53398fa854d9666e09.tar.bz2 |
Merged revisions 65715,65724,65726,65732,65736-65739,65775 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65715 | benjamin.peterson | 2008-08-16 16:04:16 -0500 (Sat, 16 Aug 2008) | 1 line
add some documentation for symtable
........
r65724 | benjamin.peterson | 2008-08-16 17:11:33 -0500 (Sat, 16 Aug 2008) | 2 lines
include filename and line number in SyntaxError
........
r65726 | georg.brandl | 2008-08-16 17:37:05 -0500 (Sat, 16 Aug 2008) | 2 lines
Review symtable docs.
........
r65732 | benjamin.peterson | 2008-08-16 18:29:40 -0500 (Sat, 16 Aug 2008) | 1 line
PySTEntry's constructor is static; there's no point in a fancy API name
........
r65736 | benjamin.peterson | 2008-08-16 20:09:17 -0500 (Sat, 16 Aug 2008) | 1 line
expose PySTEntry.nested so the symtable module will work
........
r65737 | benjamin.peterson | 2008-08-16 20:17:15 -0500 (Sat, 16 Aug 2008) | 1 line
a few improvements
........
r65738 | benjamin.peterson | 2008-08-16 20:27:30 -0500 (Sat, 16 Aug 2008) | 1 line
fix compile errors
........
r65739 | benjamin.peterson | 2008-08-16 21:23:43 -0500 (Sat, 16 Aug 2008) | 1 line
uhh PySTEntry->ste_unoptimized has to be exposed too
........
r65775 | benjamin.peterson | 2008-08-17 12:13:26 -0500 (Sun, 17 Aug 2008) | 5 lines
get the symtable module back in working order
- Fix broken functions
- Add (hopefully) extensive tests
- Modernize a little
........
Diffstat (limited to 'Include')
-rw-r--r-- | Include/symtable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/symtable.h b/Include/symtable.h index 8c1dc41..b07d77c 100644 --- a/Include/symtable.h +++ b/Include/symtable.h @@ -36,7 +36,7 @@ typedef struct _symtable_entry { PyObject *ste_children; /* list of child blocks */ _Py_block_ty ste_type; /* module, class, or function */ int ste_unoptimized; /* false if namespace is optimized */ - unsigned ste_nested : 1; /* true if block is nested */ + int ste_nested; /* true if block is nested */ unsigned ste_free : 1; /* true if block has free variables */ unsigned ste_child_free : 1; /* true if a child block has free vars, including free refs to globals */ |