summaryrefslogtreecommitdiff
path: root/src/pdarun.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2015-10-05 10:17:34 -0400
committerAdrian Thurston <thurston@complang.org>2015-10-05 11:14:34 -0400
commitf19e2b452e5dc2a14a48fe71fa26796b5678b147 (patch)
tree7bd712dfe233202d4adcdbaf95f92f5c99d116f4 /src/pdarun.h
parent13d7c884e2a855418d68b8e45041b8ab4a20a85c (diff)
downloadcolm-f19e2b452e5dc2a14a48fe71fa26796b5678b147.tar.gz
put parse tree allocator struct into pda_run as a pointer, allowing override
Diffstat (limited to 'src/pdarun.h')
-rw-r--r--src/pdarun.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pdarun.h b/src/pdarun.h
index dd180ab8..276ed775 100644
--- a/src/pdarun.h
+++ b/src/pdarun.h
@@ -357,6 +357,8 @@ struct pda_run
tree_t *parse_error_text;
char not_used;
parse_tree_t *last_final;
+
+ struct pool_alloc *parse_tree_pool;
};
void colm_pda_init( struct colm_program *prg, struct pda_run *pda_run,