From a18d63e57d15699bea90eaf04b66743416ab9be9 Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Mon, 17 Dec 2001 23:57:17 +0000 Subject: [PATCH] Backport bugfixes from the trunk. Only real change is to track movement of CO_ consts to here. --- Tools/compiler/compiler/consts.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Tools/compiler/compiler/consts.py b/Tools/compiler/compiler/consts.py index ae3d18d35dcd..fdb0a745e082 100644 --- a/Tools/compiler/compiler/consts.py +++ b/Tools/compiler/compiler/consts.py @@ -1,7 +1,3 @@ -# code flags -CO_VARARGS = 1 -CO_VARKEYWORDS = 2 - # operation flags OP_ASSIGN = 'OP_ASSIGN' OP_DELETE = 'OP_DELETE' @@ -12,3 +8,9 @@ SC_GLOBAL = 2 SC_FREE = 3 SC_CELL = 4 SC_UNKNOWN = 5 + +CO_OPTIMIZED = 0x0001 +CO_NEWLOCALS = 0x0002 +CO_VARARGS = 0x0004 +CO_VARKEYWORDS = 0x0008 +CO_NESTED = 0x0010 -- 2.47.3