summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2016-02-19 16:12:41 +0100
committerAdrian Thurston <thurston@complang.org>2016-02-19 16:12:41 +0100
commit6dd6b970b79e89b165cfc86e30e127fecfe1212f (patch)
tree78c632f2d90eada3ab2dcf4499d6a0d1722fab8c /src/commit.c
parent78ab04bcdc09256e11b0723932eba3e8c1d5c247 (diff)
downloadcolm-6dd6b970b79e89b165cfc86e30e127fecfe1212f.tar.gz
host adapters now have unique names are are accessed with func pointers
This eliminates symbol collisions present when linking multiple colm programs into the same executable.
Diffstat (limited to 'src/commit.c')
-rw-r--r--src/commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commit.c b/src/commit.c
index c1c4d205..fbb07170 100644
--- a/src/commit.c
+++ b/src/commit.c
@@ -105,7 +105,7 @@ void commit_reduce( program_t *prg, tree_t **root, struct pda_run *pda_run )
while ( sp != root ) {
pt = vm_pop_ptree();
- commit_reduce_forward( prg, sp, pda_run, pt );
+ prg->rtd->commit_reduce_forward( prg, sp, pda_run, pt );
pt->child = 0;
pt->flags |= PF_COMMITTED;