diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-11-26 18:18:58 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-11-26 18:18:58 -0800 |
commit | 555159fb9a8d41bd1ec0d2a70aadc9c498c372ba (patch) | |
tree | 2ca7256bdb20ebef6cf30a4d2051735e6c4dd7c3 /src | |
parent | 720ff1935118cf6f7e1fe8310766066f4a77f7d7 (diff) | |
download | teliva-555159fb9a8d41bd1ec0d2a70aadc9c498c372ba.tar.gz |
clean up traces of an old experiment
Diffstat (limited to 'src')
-rw-r--r-- | src/lua.c | 4 |
1 files changed, 2 insertions, 2 deletions
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"); |