diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-09-14 11:09:31 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-09-14 11:09:31 -0300 |
commit | 620d22f2a09ccfe5b7a09ebc11a7b5dca28ac9e4 (patch) | |
tree | e0a789478ca78f601d4fc05b62feddb978914a65 /liolib.c | |
parent | f45cba42b5c32758337f62c56e98fdb85a9f4af2 (diff) | |
download | lua-620d22f2a09ccfe5b7a09ebc11a7b5dca28ac9e4.tar.gz lua-620d22f2a09ccfe5b7a09ebc11a7b5dca28ac9e4.tar.bz2 lua-620d22f2a09ccfe5b7a09ebc11a7b5dca28ac9e4.zip |
new API function lua_rawget
Diffstat (limited to 'liolib.c')
-rw-r--r-- | liolib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: liolib.c,v 1.82 2000/09/12 18:41:55 roberto Exp roberto $ | 2 | ** $Id: liolib.c,v 1.83 2000/09/13 20:12:14 roberto Exp roberto $ |
3 | ** Standard I/O (and system) library | 3 | ** Standard I/O (and system) library |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -654,7 +654,7 @@ static int errorfb (lua_State *L) { | |||
654 | lua_getglobal(L, LUA_ALERT); | 654 | lua_getglobal(L, LUA_ALERT); |
655 | if (lua_isfunction(L, -1)) { /* avoid loop if _ALERT is not defined */ | 655 | if (lua_isfunction(L, -1)) { /* avoid loop if _ALERT is not defined */ |
656 | lua_pushvalue(L, -2); /* error message */ | 656 | lua_pushvalue(L, -2); /* error message */ |
657 | lua_call(L, 1, 0); | 657 | lua_rawcall(L, 1, 0); |
658 | } | 658 | } |
659 | return 0; | 659 | return 0; |
660 | } | 660 | } |