diff runtime/builtin.c @ 36:495dddadd058

User defined types work in the compiler now
author Mike Pavone <pavone@retrodev.com>
date Sat, 03 Oct 2009 03:18:15 -0400
parents 914ad38f9b59
children 640f541e9116
line wrap: on
line diff
--- a/runtime/builtin.c	Wed Sep 30 23:55:04 2009 -0400
+++ b/runtime/builtin.c	Sat Oct 03 03:18:15 2009 -0400
@@ -25,6 +25,9 @@
 		val_no = (t_Boolean *)new_object(TYPE_BOOLEAN);
 		val_no->val = 0;
 		break;
+	case TYPE_BLUEPRINT:
+		bp = register_type_byid(TYPE_BLUEPRINT, sizeof(blueprint *), NULL, NULL, NULL);
+		break;
 	}
 }