summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/compiler/consts.py5
-rw-r--r--Tools/compiler/compiler/consts.py5
2 files changed, 10 insertions, 0 deletions
diff --git a/Lib/compiler/consts.py b/Lib/compiler/consts.py
index 3b256c1..ae3d18d 100644
--- a/Lib/compiler/consts.py
+++ b/Lib/compiler/consts.py
@@ -7,3 +7,8 @@ OP_ASSIGN = 'OP_ASSIGN'
OP_DELETE = 'OP_DELETE'
OP_APPLY = 'OP_APPLY'
+SC_LOCAL = 1
+SC_GLOBAL = 2
+SC_FREE = 3
+SC_CELL = 4
+SC_UNKNOWN = 5
diff --git a/Tools/compiler/compiler/consts.py b/Tools/compiler/compiler/consts.py
index 3b256c1..ae3d18d 100644
--- a/Tools/compiler/compiler/consts.py
+++ b/Tools/compiler/compiler/consts.py
@@ -7,3 +7,8 @@ OP_ASSIGN = 'OP_ASSIGN'
OP_DELETE = 'OP_DELETE'
OP_APPLY = 'OP_APPLY'
+SC_LOCAL = 1
+SC_GLOBAL = 2
+SC_FREE = 3
+SC_CELL = 4
+SC_UNKNOWN = 5