diff options
author | Adrian Thurston <thurston@complang.org> | 2015-10-04 11:40:30 -0400 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2015-10-04 11:40:30 -0400 |
commit | 514d1771d7956df29ea8e9f0c5f0a35d47bc8bc4 (patch) | |
tree | b076ba176a640396c63f8986442ad5613fef893e /src/bytecode.h | |
parent | 672040140417c53b278aa79ac91b8e89a1a3d634 (diff) | |
download | colm-514d1771d7956df29ea8e9f0c5f0a35d47bc8bc4.tar.gz |
working on a commit that can execute reduction actions
First track if the result is used. If not, we can remove parse trees at commit
points. This is also the time to execute reduction actions so we can load as we
parse. Not currently enabled (by way of omitting setting of not-used bit).
Diffstat (limited to 'src/bytecode.h')
-rw-r--r-- | src/bytecode.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bytecode.h b/src/bytecode.h index 111dabee..668602d2 100644 --- a/src/bytecode.h +++ b/src/bytecode.h @@ -211,7 +211,8 @@ typedef unsigned long colm_value_t; #define IN_GET_VLIST_MEM_WV 0x70 #define IN_GET_VLIST_MEM_BKT 0x5c -// 0x76 +/* This should be a bit in the parser generic. */ +#define IN_PARSER_NOT_USED 0x76 #define IN_DONE 0x78 |