summaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldo.c')
-rw-r--r--ldo.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ldo.c b/ldo.c
index c58831eb..e0ad718c 100644
--- a/ldo.c
+++ b/ldo.c
@@ -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*/
653struct SParser { /* data to `f_parser' */ 653struct 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 */