diff runtime/context.c @ 139:a68e6828d896

Global stores and transactions are working. Definately leaks memory on retries. Probably a fair number of bugs to work out. However, a basic test program works.
author Mike Pavone <pavone@retrodev.com>
date Fri, 19 Nov 2010 04:04:14 -0500
parents d1569087348f
children c14698c512f1
line wrap: on
line diff
--- a/runtime/context.c	Tue Nov 16 21:53:18 2010 -0500
+++ b/runtime/context.c	Fri Nov 19 04:04:14 2010 -0500
@@ -18,6 +18,7 @@
 	context * c = malloc(sizeof(context));
 	c->stack_begin = new_stack();
 	c->current_stack = c->stack_begin;
+	c->transaction = NULL;
 	return c;
 }