diff options
author | Damien George <damien.p.george@gmail.com> | 2014-04-09 15:26:46 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-04-09 15:26:46 +0100 |
commit | 2bf7c092225645d8c5b15e536afdce39e3593e42 (patch) | |
tree | e257514a3008411367ea5e62eaea4b101ccac257 /py/scope.h | |
parent | 11d8cd54c992eee55f27d3779738626bdc095c03 (diff) | |
download | micropython-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.h | 1 |
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 { |