From 32a12e2f3f18aeade5e2cd77eda67a261815246e Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 15 Jul 2011 09:50:29 -0300 Subject: [PATCH] detail (cleaned whitespaces at end of lines) --- lcode.c | 6 +++--- lctype.h | 4 ++-- lopcodes.h | 4 ++-- lparser.c | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lcode.c b/lcode.c index 1067acbd..9240ebdb 100644 --- a/lcode.c +++ b/lcode.c @@ -1,5 +1,5 @@ /* -** $Id: lcode.c,v 2.55 2011/05/31 18:24:36 roberto Exp roberto $ +** $Id: lcode.c,v 2.56 2011/05/31 18:27:56 roberto Exp roberto $ ** Code generator for Lua ** See Copyright Notice in lua.h */ @@ -44,8 +44,8 @@ void luaK_nil (FuncState *fs, int from, int n) { int pl = pfrom + GETARG_B(*previous); if ((pfrom <= from && from <= pl + 1) || (from <= pfrom && pfrom <= l + 1)) { /* can connect both? */ - if (pfrom < from) from = pfrom; /* from = min(from, pfrom) */ - if (pl > l) l = pl; /* l = max(l, pl) */ + if (pfrom < from) from = pfrom; /* from = min(from, pfrom) */ + if (pl > l) l = pl; /* l = max(l, pl) */ SETARG_A(*previous, from); SETARG_B(*previous, l - from); return; diff --git a/lctype.h b/lctype.h index 34bc222c..5dc17013 100644 --- a/lctype.h +++ b/lctype.h @@ -1,5 +1,5 @@ /* -** $Id: lctype.h,v 1.10 2011/06/24 12:25:33 roberto Exp roberto $ +** $Id: lctype.h,v 1.11 2011/06/27 18:22:46 roberto Exp roberto $ ** 'ctype' functions for Lua ** See Copyright Notice in lua.h */ @@ -11,7 +11,7 @@ /* -** WARNING: the functions defined here do not necessarily correspond +** WARNING: the functions defined here do not necessarily correspond ** to the similar functions in the standard C ctype.h. They are ** optimized for the specific needs of Lua */ diff --git a/lopcodes.h b/lopcodes.h index 5ab88228..886cdbcc 100644 --- a/lopcodes.h +++ b/lopcodes.h @@ -1,5 +1,5 @@ /* -** $Id: lopcodes.h,v 1.140 2011/04/07 18:14:12 roberto Exp roberto $ +** $Id: lopcodes.h,v 1.141 2011/04/19 16:22:13 roberto Exp roberto $ ** Opcodes for Lua virtual machine ** See Copyright Notice in lua.h */ @@ -196,7 +196,7 @@ OP_LEN,/* A B R(A) := length of R(B) */ OP_CONCAT,/* A B C R(A) := R(B).. ... ..R(C) */ -OP_JMP,/* A sBx pc+=sBx; if (A) close all upvalues >= R(A) + 1 */ +OP_JMP,/* A sBx pc+=sBx; if (A) close all upvalues >= R(A) + 1 */ OP_EQ,/* A B C if ((RK(B) == RK(C)) ~= A) then pc++ */ OP_LT,/* A B C if ((RK(B) < RK(C)) ~= A) then pc++ */ OP_LE,/* A B C if ((RK(B) <= RK(C)) ~= A) then pc++ */ diff --git a/lparser.c b/lparser.c index 03f87176..a5b60033 100644 --- a/lparser.c +++ b/lparser.c @@ -1,5 +1,5 @@ /* -** $Id: lparser.c,v 2.112 2011/06/27 18:18:59 roberto Exp roberto $ +** $Id: lparser.c,v 2.113 2011/07/02 15:58:14 roberto Exp roberto $ ** Lua Parser ** See Copyright Notice in lua.h */ @@ -418,7 +418,7 @@ static void movegotosout (FuncState *fs, BlockCnt *bl) { int i = bl->firstgoto; Labellist *gl = &fs->ls->dyd->gt; /* correct pending gotos to current block and try to close it - with visible labels */ + with visible labels */ while (i < gl->n) { Labeldesc *gt = &gl->arr[i]; if (gt->nactvar > bl->nactvar) { @@ -1190,7 +1190,7 @@ static void checkrepeated (FuncState *fs, Labellist *ll, TString *label) { int i; for (i = fs->bl->firstlabel; i < ll->n; i++) { if (eqstr(label, ll->arr[i].name)) { - const char *msg = luaO_pushfstring(fs->ls->L, + const char *msg = luaO_pushfstring(fs->ls->L, "label " LUA_QS " already defined on line %d", getstr(label), ll->arr[i].line); semerror(fs->ls, msg);