diff options
Diffstat (limited to 'lobject.c')
| -rw-r--r-- | lobject.c | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lobject.c,v 1.58 2000/12/28 12:55:41 roberto Exp roberto $ | 2 | ** $Id: lobject.c,v 1.59 2001/01/19 13:20:30 roberto Exp roberto $ |
| 3 | ** Some generic functions over Lua objects | 3 | ** Some generic functions over Lua objects |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -12,6 +12,7 @@ | |||
| 12 | 12 | ||
| 13 | #include "lua.h" | 13 | #include "lua.h" |
| 14 | 14 | ||
| 15 | #include "ldo.h" | ||
| 15 | #include "lmem.h" | 16 | #include "lmem.h" |
| 16 | #include "lobject.h" | 17 | #include "lobject.h" |
| 17 | #include "lstate.h" | 18 | #include "lstate.h" |
| @@ -85,7 +86,7 @@ void luaO_verror (lua_State *L, const char *fmt, ...) { | |||
| 85 | va_start(argp, fmt); | 86 | va_start(argp, fmt); |
| 86 | vsprintf(buff, fmt, argp); | 87 | vsprintf(buff, fmt, argp); |
| 87 | va_end(argp); | 88 | va_end(argp); |
| 88 | lua_error(L, buff); | 89 | luaD_error(L, buff); |
| 89 | } | 90 | } |
| 90 | 91 | ||
| 91 | 92 | ||
