From 555159fb9a8d41bd1ec0d2a70aadc9c498c372ba Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 26 Nov 2021 18:18:58 -0800 Subject: clean up traces of an old experiment --- src/lua.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/lua.c b/src/lua.c index 1adcb95..3a8f183 100644 --- a/src/lua.c +++ b/src/lua.c @@ -329,7 +329,7 @@ static const char *look_up_definition (lua_State *L, const char *name) { } -int resume_loading_definitions(lua_State *L) { +int load_definitions(lua_State *L) { int status; lua_getglobal(L, "teliva_program"); int history_array = lua_gettop(L); @@ -367,7 +367,7 @@ static int handle_image (lua_State *L, char **argv, int n) { lua_insert(L, -(narg+1)); if (status != 0) return status; status = docall(L, narg, 0); - status = resume_loading_definitions(L); + status = load_definitions(L); if (status != 0) return 0; /* call main() */ lua_getglobal(L, "main"); -- cgit 1.4.1-2-gfad0