diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-11-02 16:48:07 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-11-02 16:48:07 -0200 |
| commit | ff1289a361eb2b077d0df83eaed21647444541ef (patch) | |
| tree | cbbe9372b6a317c06ff1724b36734bdc45df5441 /ldebug.c | |
| parent | cd73f3ccc5e85bc2b3e45477e2f6e3b705bf3c24 (diff) | |
| download | lua-ff1289a361eb2b077d0df83eaed21647444541ef.tar.gz lua-ff1289a361eb2b077d0df83eaed21647444541ef.tar.bz2 lua-ff1289a361eb2b077d0df83eaed21647444541ef.zip | |
in 'luaD_call', use two functions instead of one with fixed boolean
argument
Diffstat (limited to 'ldebug.c')
| -rw-r--r-- | ldebug.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ldebug.c,v 2.115 2015/05/22 17:45:56 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 2.116 2015/10/22 14:40:47 roberto Exp roberto $ |
| 3 | ** Debug Interface | 3 | ** Debug Interface |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -618,7 +618,7 @@ l_noret luaG_errormsg (lua_State *L) { | |||
| 618 | setobjs2s(L, L->top, L->top - 1); /* move argument */ | 618 | setobjs2s(L, L->top, L->top - 1); /* move argument */ |
| 619 | setobjs2s(L, L->top - 1, errfunc); /* push function */ | 619 | setobjs2s(L, L->top - 1, errfunc); /* push function */ |
| 620 | L->top++; /* assume EXTRA_STACK */ | 620 | L->top++; /* assume EXTRA_STACK */ |
| 621 | luaD_call(L, L->top - 2, 1, 0); /* call it */ | 621 | luaD_callnoyield(L, L->top - 2, 1); /* call it */ |
| 622 | } | 622 | } |
| 623 | luaD_throw(L, LUA_ERRRUN); | 623 | luaD_throw(L, LUA_ERRRUN); |
| 624 | } | 624 | } |
