diff options
Diffstat (limited to 'lua.stx')
| -rw-r--r-- | lua.stx | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,6 +1,6 @@ | |||
| 1 | %{ | 1 | %{ |
| 2 | 2 | ||
| 3 | char *rcs_luastx = "$Id: lua.stx,v 3.15 1994/12/27 20:04:29 celes Exp celes $"; | 3 | char *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 | } |
