Compute the version number dynamically
[muddle-interpreter.git] / src / eval.h
index 22b5374c7b008008cc0d467cb0de0f4c7adbd626..51acdea23eaa86d33bd451da811481d7f13c794f 100644 (file)
@@ -1,5 +1,5 @@
 /*
-Copyright (C) 2017 Keziah Wesley
+Copyright (C) 2017-2018 Keziah Wesley
 
 You can redistribute and/or modify this file under the terms of the
 GNU Affero General Public License as published by the Free Software
@@ -24,6 +24,7 @@ License along with this file. If not, see
 void eval ();
 void push_frame (void (*fn) (), tuple_object args, void (*cont) ());
 
+/* TODO: don't expose this in header */
 // stack:
 // <0> args...
 // <0> frametop
@@ -39,6 +40,7 @@ struct frame
   tuple_object args;
   tuple_object prevframe;
   // <0> framebottom (state saved before child call)
+  object *prevcst;
 
   // <0> temps, <1> args
   object locals[];