aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-08-08 17:08:41 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-08-08 17:08:41 -0300
commit9998082839bfffe01d7b614ab61ad35629a2c356 (patch)
tree3722acbcdda6fff4bdccc059c443618a59978726 /lapi.c
parent08da48a73ce9ec8d0672c45f67ff32650e937477 (diff)
downloadlua-9998082839bfffe01d7b614ab61ad35629a2c356.tar.gz
lua-9998082839bfffe01d7b614ab61ad35629a2c356.tar.bz2
lua-9998082839bfffe01d7b614ab61ad35629a2c356.zip
external messages add their own extra information
Diffstat (limited to 'lapi.c')
-rw-r--r--lapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lapi.c b/lapi.c
index 4902be21..d87bf134 100644
--- a/lapi.c
+++ b/lapi.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lapi.c,v 1.209 2002/08/06 18:54:18 roberto Exp roberto $ 2** $Id: lapi.c,v 1.210 2002/08/07 14:24:24 roberto Exp roberto $
3** Lua API 3** Lua API
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -695,7 +695,7 @@ LUA_API void lua_setgcthreshold (lua_State *L, int newthreshold) {
695LUA_API int lua_error (lua_State *L) { 695LUA_API int lua_error (lua_State *L) {
696 lua_lock(L); 696 lua_lock(L);
697 api_checknelems(L, 1); 697 api_checknelems(L, 1);
698 luaG_errormsg(L, 0); 698 luaG_errormsg(L);
699 lua_unlock(L); 699 lua_unlock(L);
700 return 0; /* to avoid warnings */ 700 return 0; /* to avoid warnings */
701} 701}