summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lcode.c4
-rw-r--r--lgc.c4
-rw-r--r--lstring.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/lcode.c b/lcode.c
index a36e2376..52ef2615 100644
--- a/lcode.c
+++ b/lcode.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lcode.c,v 2.85 2014/03/21 13:52:33 roberto Exp roberto $ 2** $Id: lcode.c,v 2.86 2014/04/01 14:39:55 roberto Exp roberto $
3** Code generator for Lua 3** Code generator for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -195,7 +195,7 @@ void luaK_patchlist (FuncState *fs, int list, int target) {
195} 195}
196 196
197 197
198LUAI_FUNC void luaK_patchclose (FuncState *fs, int list, int level) { 198void luaK_patchclose (FuncState *fs, int list, int level) {
199 level++; /* argument is +1 to reserve 0 as non-op */ 199 level++; /* argument is +1 to reserve 0 as non-op */
200 while (list != NO_JUMP) { 200 while (list != NO_JUMP) {
201 int next = getjump(fs, list); 201 int next = getjump(fs, list);
diff --git a/lgc.c b/lgc.c
index 348781c0..680c0ac2 100644
--- a/lgc.c
+++ b/lgc.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lgc.c,v 2.179 2014/03/21 13:52:33 roberto Exp roberto $ 2** $Id: lgc.c,v 2.180 2014/04/01 14:06:59 roberto Exp roberto $
3** Garbage Collector 3** Garbage Collector
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -172,7 +172,7 @@ void luaC_barrierback_ (lua_State *L, GCObject *o) {
172** closures pointing to it. So, we assume that the object being assigned 172** closures pointing to it. So, we assume that the object being assigned
173** must be marked. 173** must be marked.
174*/ 174*/
175LUAI_FUNC void luaC_upvalbarrier_ (lua_State *L, UpVal *uv) { 175void luaC_upvalbarrier_ (lua_State *L, UpVal *uv) {
176 global_State *g = G(L); 176 global_State *g = G(L);
177 GCObject *o = gcvalue(uv->v); 177 GCObject *o = gcvalue(uv->v);
178 lua_assert(!upisopen(uv)); /* ensured by macro luaC_upvalbarrier */ 178 lua_assert(!upisopen(uv)); /* ensured by macro luaC_upvalbarrier */
diff --git a/lstring.c b/lstring.c
index 32448ebf..f666ebf9 100644
--- a/lstring.c
+++ b/lstring.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstring.c,v 2.37 2014/02/19 13:51:09 roberto Exp roberto $ 2** $Id: lstring.c,v 2.38 2014/03/19 18:51:42 roberto Exp roberto $
3** String table (keeps all strings handled by Lua) 3** String table (keeps all strings handled by Lua)
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -102,7 +102,7 @@ static TString *createstrobj (lua_State *L, const char *str, size_t l,
102} 102}
103 103
104 104
105LUAI_FUNC void luaS_remove (lua_State *L, TString *ts) { 105void luaS_remove (lua_State *L, TString *ts) {
106 stringtable *tb = &G(L)->strt; 106 stringtable *tb = &G(L)->strt;
107 TString **p = &tb->hash[lmod(ts->tsv.hash, tb->size)]; 107 TString **p = &tb->hash[lmod(ts->tsv.hash, tb->size)];
108 while (*p != ts) /* find previous element */ 108 while (*p != ts) /* find previous element */