1
0
mirror of https://github.com/lua/lua.git synced 2025-01-14 05:43:00 +08:00

details (message text)

This commit is contained in:
Roberto Ierusalimschy 1999-05-14 09:24:20 -03:00
parent 924bbe020b
commit 34695d4f4a

4
lapi.c
View File

@ -1,5 +1,5 @@
/*
** $Id: lapi.c,v 1.43 1999/05/11 14:19:32 roberto Exp roberto $
** $Id: lapi.c,v 1.44 1999/05/11 20:08:20 roberto Exp roberto $
** Lua API
** See Copyright Notice in lua.h
*/
@ -590,7 +590,7 @@ int lua_setlocal (lua_Function func, int local_number)
void lua_funcinfo (lua_Object func, char **source, int *linedefined) {
if (!lua_isfunction(func))
lua_error("API - `funcinfo' called with a non-function value");
lua_error("API error - `funcinfo' called with a non-function value");
else {
TObject *f = luaA_protovalue(Address(func));
if (normalized_type(f) == LUA_T_PROTO) {