X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=src%2Feval.h;h=51acdea23eaa86d33bd451da811481d7f13c794f;hb=refs%2Fheads%2Fmaster;hp=22b5374c7b008008cc0d467cb0de0f4c7adbd626;hpb=8d55156675587a770c5654362bcbd3d2a98e4aa9;p=muddle-interpreter.git diff --git a/src/eval.h b/src/eval.h index 22b5374..51acdea 100644 --- a/src/eval.h +++ b/src/eval.h @@ -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[];