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/pdarun.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/pdarun.h')
-rw-r--r-- | src/pdarun.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pdarun.h b/src/pdarun.h index 5708f7fc..dd180ab8 100644 --- a/src/pdarun.h +++ b/src/pdarun.h @@ -355,6 +355,8 @@ struct pda_run int rc_block_count; tree_t *parse_error_text; + char not_used; + parse_tree_t *last_final; }; void colm_pda_init( struct colm_program *prg, struct pda_run *pda_run, |