summaryrefslogtreecommitdiff
path: root/conf/conf.h
diff options
context:
space:
mode:
Diffstat (limited to 'conf/conf.h')
-rw-r--r--conf/conf.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/conf/conf.h b/conf/conf.h
index ec8c97e8..8558fcba 100644
--- a/conf/conf.h
+++ b/conf/conf.h
@@ -137,9 +137,10 @@ struct sym_scope {
HASH(struct symbol) hash; /* Local symbol hash */
uint slots; /* Variable slots */
- byte active; /* Currently entered */
- byte block; /* No independent stack frame */
byte soft_scopes; /* Number of soft scopes above */
+ byte active:1; /* Currently entered */
+ byte block:1; /* No independent stack frame */
+ byte readonly:1; /* Do not add new symbols */
};
extern struct sym_scope *global_root_scope;