summaryrefslogtreecommitdiffstatshomepage
path: root/py/scope.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-09 15:26:46 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-09 15:26:46 +0100
commit2bf7c092225645d8c5b15e536afdce39e3593e42 (patch)
treee257514a3008411367ea5e62eaea4b101ccac257 /py/scope.h
parent11d8cd54c992eee55f27d3779738626bdc095c03 (diff)
downloadmicropython-2bf7c092225645d8c5b15e536afdce39e3593e42.tar.gz
micropython-2bf7c092225645d8c5b15e536afdce39e3593e42.zip
py: Properly implement deletion of locals and derefs, and detect errors.
Needed to reinstate 2 delete opcodes, to specifically check that a local is not deleted twice.
Diffstat (limited to 'py/scope.h')
-rw-r--r--py/scope.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/scope.h b/py/scope.h
index 68f55e0d03..07b41fe721 100644
--- a/py/scope.h
+++ b/py/scope.h
@@ -8,6 +8,7 @@ enum {
enum {
ID_FLAG_IS_PARAM = 0x01,
+ ID_FLAG_IS_DELETED = 0x02,
};
typedef struct _id_info_t {