summaryrefslogtreecommitdiffstatshomepage
path: root/py/scope.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/scope.h')
-rw-r--r--py/scope.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/py/scope.h b/py/scope.h
index daba296dc4..68f55e0d03 100644
--- a/py/scope.h
+++ b/py/scope.h
@@ -6,9 +6,13 @@ enum {
ID_INFO_KIND_FREE, // in a function f, belongs to the parent of f
};
+enum {
+ ID_FLAG_IS_PARAM = 0x01,
+};
+
typedef struct _id_info_t {
- uint8_t param;
uint8_t kind;
+ uint8_t flags;
// when it's an ID_INFO_KIND_LOCAL this is the unique number of the local
// whet it's an ID_INFO_KIND_CELL/FREE this is the unique number of the closed over variable
uint16_t local_num;