about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/lua.c2
-rw-r--r--src/luaconf.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/lua.c b/src/lua.c
index 3a46609..1f2953f 100644
--- a/src/lua.c
+++ b/src/lua.c
@@ -188,7 +188,6 @@ static int pushline (lua_State *L, int firstline) {
     lua_pushfstring(L, "return %s", b+1);  /* change it to `return' */
   else
     lua_pushstring(L, b);
-  lua_freeline(L, b);
   return 1;
 }
 
@@ -207,7 +206,6 @@ static int loadline (lua_State *L) {
     lua_insert(L, -2);  /* ...between the two lines */
     lua_concat(L, 3);  /* join them */
   }
-  lua_saveline(L, 1);
   lua_remove(L, 1);  /* remove line */
   return status;
 }
diff --git a/src/luaconf.h b/src/luaconf.h
index b15f61d..c0af7e0 100644
--- a/src/luaconf.h
+++ b/src/luaconf.h
@@ -266,8 +266,6 @@
 #define lua_readline(L,b,p)	\
 	((void)L, fputs(p, stdout), fflush(stdout),  /* show prompt */ \
 	fgets(b, LUA_MAXINPUT, stdin) != NULL)  /* get line */
-#define lua_saveline(L,idx)	{ (void)L; (void)idx; }
-#define lua_freeline(L,b)	{ (void)L; (void)b; }
 
 #endif