Showing the changes to src/lapi.c (1 of 12 files). Show all
Unified · Split
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lapi.c,v 2.170 2012/12/05 19:49:55 roberto Exp $ | 2 | ** $Id: lapi.c,v 2.171 2013/03/16 21:10:18 roberto Exp $ |
| 3 | ** Lua API | 3 | ** Lua API |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -1106,7 +1106,7 @@ LUA_API int lua_error (lua_State *L) { · 1100 unmodified lines | |||
| 1106 | lua_lock(L); | 1106 | lua_lock(L); |
| 1107 | api_checknelems(L, 1); | 1107 | api_checknelems(L, 1); |
| 1108 | luaG_errormsg(L); | 1108 | luaG_errormsg(L); |
| 1109 | /* code unreacheable; will unlock when control actually leaves the kernel */ | 1109 | /* code unreachable; will unlock when control actually leaves the kernel */ |
| 1110 | return 0; /* to avoid warnings */ | 1110 | return 0; /* to avoid warnings */ |
| 1111 | } | 1111 | } |
| 1112 | 1112 | ||