summaryrefslogtreecommitdiff
path: root/colm/program.c
diff options
context:
space:
mode:
Diffstat (limited to 'colm/program.c')
-rw-r--r--colm/program.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/colm/program.c b/colm/program.c
index d1f8893c..412473e5 100644
--- a/colm/program.c
+++ b/colm/program.c
@@ -91,6 +91,11 @@ void vm_init( Program *prg )
prg->stackRoot = prg->sb_end;
}
+struct ColmTree **vm_root( struct ColmProgram *prg )
+{
+ return prg->stackRoot;
+}
+
Tree **vm_bs_add( Program *prg, Tree **sp, int n )
{
/* Close off the current block. */