Mercurial > repos > rhope
diff interp.c @ 30:914ad38f9b59
Compiler now works for some simple programs
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 28 Sep 2009 19:42:33 -0400 |
parents | 3cc5e4a42344 |
children | 9ee9adc696e7 |
line wrap: on
line diff
--- a/interp.c Sat Jun 27 01:50:33 2009 -0400 +++ b/interp.c Mon Sep 28 19:42:33 2009 -0400 @@ -2702,6 +2702,7 @@ } if(room_index_ret) *room_index_ret = -1; + printf("Error: Can't set field %s on object with blueprint %s\n", name, company[0]->company); return -1; } @@ -2787,6 +2788,8 @@ } if(room_index_ret) *room_index_ret = -1; + printf("Error: Can't get field %s from object with blueprint %s\n", name, company[0]->company); + print_stack_trace(entry->instance); return -1; }