summaryrefslogtreecommitdiff
path: root/src/program.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2015-11-05 21:44:00 -0500
committerAdrian Thurston <thurston@complang.org>2015-11-05 21:44:00 -0500
commit61fea2948a63f7968e2d9f6508a640afe83421ca (patch)
tree203066627df83b5dff0d60803682ae66e740e429 /src/program.h
parent883797b32e3a4915bf81f801946cda6798e019c9 (diff)
downloadcolm-61fea2948a63f7968e2d9f6508a640afe83421ca.tar.gz
stash reduction class in program
Diffstat (limited to 'src/program.h')
-rw-r--r--src/program.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/program.h b/src/program.h
index 9949b386..cbca509b 100644
--- a/src/program.h
+++ b/src/program.h
@@ -99,7 +99,6 @@ struct colm_sections
struct pda_run *pda_run, struct stream_impl *input_stream );
void (*init_bindings)( struct pda_run *pda_run );
void (*pop_binding)( struct pda_run *pda_run, parse_tree_t *tree );
-
};
struct heap_list
@@ -150,6 +149,8 @@ struct colm_program
/* Returned value for main program and any exported functions. */
tree_t *return_val;
+
+ void *red_ctx;
};
#endif