diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-10-25 09:50:46 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-10-25 09:50:46 -0200 |
| commit | bdf566a8a32450c2eb6273c8c1a92e2181b6846e (patch) | |
| tree | b301da541fbad81034216a6e0465cc381082431e /ldo.c | |
| parent | c3c78030f79fdbbb06265d50645e408d60e7798e (diff) | |
| download | lua-bdf566a8a32450c2eb6273c8c1a92e2181b6846e.tar.gz lua-bdf566a8a32450c2eb6273c8c1a92e2181b6846e.tar.bz2 lua-bdf566a8a32450c2eb6273c8c1a92e2181b6846e.zip | |
`name' in comments changed to 'name'
Diffstat (limited to 'ldo.c')
| -rw-r--r-- | ldo.c | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ldo.c,v 2.129 2014/10/08 12:20:26 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 2.130 2014/10/17 16:28:21 roberto Exp roberto $ |
| 3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -287,7 +287,7 @@ static StkId tryfuncTM (lua_State *L, StkId func) { | |||
| 287 | ptrdiff_t funcr = savestack(L, func); | 287 | ptrdiff_t funcr = savestack(L, func); |
| 288 | if (!ttisfunction(tm)) | 288 | if (!ttisfunction(tm)) |
| 289 | luaG_typeerror(L, func, "call"); | 289 | luaG_typeerror(L, func, "call"); |
| 290 | /* Open a hole inside the stack at `func' */ | 290 | /* Open a hole inside the stack at 'func' */ |
| 291 | for (p = L->top; p > func; p--) setobjs2s(L, p, p-1); | 291 | for (p = L->top; p > func; p--) setobjs2s(L, p, p-1); |
| 292 | incr_top(L); | 292 | incr_top(L); |
| 293 | func = restorestack(L, funcr); /* previous call may change stack */ | 293 | func = restorestack(L, funcr); /* previous call may change stack */ |
| @@ -575,7 +575,7 @@ LUA_API int lua_resume (lua_State *L, lua_State *from, int nargs) { | |||
| 575 | status = luaD_rawrunprotected(L, unroll, &status); | 575 | status = luaD_rawrunprotected(L, unroll, &status); |
| 576 | } | 576 | } |
| 577 | if (errorstatus(status)) { /* unrecoverable error? */ | 577 | if (errorstatus(status)) { /* unrecoverable error? */ |
| 578 | L->status = cast_byte(status); /* mark thread as `dead' */ | 578 | L->status = cast_byte(status); /* mark thread as 'dead' */ |
| 579 | seterrorobj(L, status, L->top); /* push error message */ | 579 | seterrorobj(L, status, L->top); /* push error message */ |
| 580 | L->ci->top = L->top; | 580 | L->ci->top = L->top; |
| 581 | } | 581 | } |
| @@ -650,7 +650,7 @@ int luaD_pcall (lua_State *L, Pfunc func, void *u, | |||
| 650 | /* | 650 | /* |
| 651 | ** Execute a protected parser. | 651 | ** Execute a protected parser. |
| 652 | */ | 652 | */ |
| 653 | struct SParser { /* data to `f_parser' */ | 653 | struct SParser { /* data to 'f_parser' */ |
| 654 | ZIO *z; | 654 | ZIO *z; |
| 655 | Mbuffer buff; /* dynamic structure used by the scanner */ | 655 | Mbuffer buff; /* dynamic structure used by the scanner */ |
| 656 | Dyndata dyd; /* dynamic structures used by the parser */ | 656 | Dyndata dyd; /* dynamic structures used by the parser */ |
