diff options
author | Damien George <damien.p.george@gmail.com> | 2018-09-15 13:00:11 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-09-15 13:00:11 +1000 |
commit | 80db30a510caeb0c575bcedc09683cacdce46de6 (patch) | |
tree | a46532715bcbe672b6570c8673eacac00d43b044 /py/scope.h | |
parent | 07caf4f969a9ad09e7a18d6cf419d92848908e40 (diff) | |
download | micropython-80db30a510caeb0c575bcedc09683cacdce46de6.tar.gz micropython-80db30a510caeb0c575bcedc09683cacdce46de6.zip |
py/emit: Completely remove set_native_type, arg type is set in compiler.
In viper mode, the type of the argument is now stored in id_info->flags.
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 d6742b4c96..77bc69d740 100644 --- a/py/scope.h +++ b/py/scope.h @@ -41,6 +41,7 @@ enum { ID_FLAG_IS_PARAM = 0x01, ID_FLAG_IS_STAR_PARAM = 0x02, ID_FLAG_IS_DBL_STAR_PARAM = 0x04, + ID_FLAG_VIPER_TYPE_POS = 4, }; typedef struct _id_info_t { |