summaryrefslogtreecommitdiff
path: root/lua.stx
diff options
context:
space:
mode:
Diffstat (limited to 'lua.stx')
-rw-r--r--lua.stx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua.stx b/lua.stx
index 451532d5..6a900944 100644
--- a/lua.stx
+++ b/lua.stx
@@ -1,6 +1,6 @@
1%{ 1%{
2 2
3char *rcs_luastx = "$Id: lua.stx,v 3.15 1994/12/27 20:04:29 celes Exp celes $"; 3char *rcs_luastx = "$Id: lua.stx,v 3.16 1994/12/27 20:41:11 celes Exp roberto $";
4 4
5#include <stdio.h> 5#include <stdio.h>
6#include <stdlib.h> 6#include <stdlib.h>
@@ -237,7 +237,7 @@ static void init_function (TreeNode *func)
237 if (lua_debug) 237 if (lua_debug)
238 { 238 {
239 code_byte(SETFUNCTION); 239 code_byte(SETFUNCTION);
240 code_code((Byte *)strdup(lua_file[lua_nfile-1])); 240 code_code((Byte *)luaI_strdup(lua_file[lua_nfile-1]));
241 code_word(luaI_findconstant(func)); 241 code_word(luaI_findconstant(func));
242 } 242 }
243} 243}