aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lcode.c4
-rw-r--r--lgc.c8
-rw-r--r--llex.c4
-rw-r--r--lstate.h10
-rw-r--r--lstrlib.c4
-rw-r--r--ltests.c4
6 files changed, 17 insertions, 17 deletions
diff --git a/lcode.c b/lcode.c
index 00fd1646..2e7af2f7 100644
--- a/lcode.c
+++ b/lcode.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lcode.c,v 2.92 2014/10/27 16:29:58 roberto Exp roberto $ 2** $Id: lcode.c,v 2.93 2014/10/28 17:27:41 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*/
@@ -589,7 +589,7 @@ int luaK_exp2RK (FuncState *fs, expdesc *e) {
589 } 589 }
590 case VK: { 590 case VK: {
591 vk: 591 vk:
592 if (e->u.info <= MAXINDEXRK) /* constant fits in argC? */ 592 if (e->u.info <= MAXINDEXRK) /* constant fits in 'argC'? */
593 return RKASK(e->u.info); 593 return RKASK(e->u.info);
594 else break; 594 else break;
595 } 595 }
diff --git a/lgc.c b/lgc.c
index f8af048b..30779328 100644
--- a/lgc.c
+++ b/lgc.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lgc.c,v 2.197 2014/10/25 11:50:46 roberto Exp roberto $ 2** $Id: lgc.c,v 2.198 2014/10/29 15:02:53 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*/
@@ -975,7 +975,7 @@ static l_mem atomic (lua_State *L) {
975 /* remark occasional upvalues of (maybe) dead threads */ 975 /* remark occasional upvalues of (maybe) dead threads */
976 remarkupvals(g); 976 remarkupvals(g);
977 propagateall(g); /* propagate changes */ 977 propagateall(g); /* propagate changes */
978 work = g->GCmemtrav; /* stop counting (do not recount gray-agains) */ 978 work = g->GCmemtrav; /* stop counting (do not recount 'grayagain') */
979 g->gray = grayagain; 979 g->gray = grayagain;
980 propagateall(g); /* traverse 'grayagain' list */ 980 propagateall(g); /* traverse 'grayagain' list */
981 g->GCmemtrav = 0; /* restart counting */ 981 g->GCmemtrav = 0; /* restart counting */
@@ -995,7 +995,7 @@ static l_mem atomic (lua_State *L) {
995 /* at this point, all resurrected objects are marked. */ 995 /* at this point, all resurrected objects are marked. */
996 /* remove dead objects from weak tables */ 996 /* remove dead objects from weak tables */
997 clearkeys(g, g->ephemeron, NULL); /* clear keys from all ephemeron tables */ 997 clearkeys(g, g->ephemeron, NULL); /* clear keys from all ephemeron tables */
998 clearkeys(g, g->allweak, NULL); /* clear keys from all allweak tables */ 998 clearkeys(g, g->allweak, NULL); /* clear keys from all 'allweak' tables */
999 /* clear values from resurrected weak tables */ 999 /* clear values from resurrected weak tables */
1000 clearvalues(g, g->weak, origweak); 1000 clearvalues(g, g->weak, origweak);
1001 clearvalues(g, g->allweak, origall); 1001 clearvalues(g, g->allweak, origall);
@@ -1125,7 +1125,7 @@ void luaC_step (lua_State *L) {
1125 1125
1126 1126
1127/* 1127/*
1128** Performs a full GC cycle; if "isemergency", set a flag to avoid 1128** Performs a full GC cycle; if 'isemergency', set a flag to avoid
1129** some operations which could change the interpreter state in some 1129** some operations which could change the interpreter state in some
1130** unexpected ways (running finalizers and shrinking some structures). 1130** unexpected ways (running finalizers and shrinking some structures).
1131** Before running the collection, check 'keepinvariant'; if it is true, 1131** Before running the collection, check 'keepinvariant'; if it is true,
diff --git a/llex.c b/llex.c
index 16aac180..e737c169 100644
--- a/llex.c
+++ b/llex.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: llex.c,v 2.85 2014/10/25 11:50:46 roberto Exp roberto $ 2** $Id: llex.c,v 2.86 2014/10/26 15:45:41 roberto Exp roberto $
3** Lexical Analyzer 3** Lexical Analyzer
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -438,7 +438,7 @@ static void read_string (LexState *ls, int del, SemInfo *seminfo) {
438 } 438 }
439 default: { 439 default: {
440 esccheck(ls, lisdigit(ls->current), "invalid escape sequence"); 440 esccheck(ls, lisdigit(ls->current), "invalid escape sequence");
441 c = readdecesc(ls); /* digital escape \ddd */ 441 c = readdecesc(ls); /* digital escape '\ddd' */
442 goto only_save; 442 goto only_save;
443 } 443 }
444 } 444 }
diff --git a/lstate.h b/lstate.h
index 37bf7739..fb2e91b4 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 2.117 2014/10/07 18:29:13 roberto Exp roberto $ 2** $Id: lstate.h,v 2.118 2014/10/25 11:50:46 roberto Exp roberto $
3** Global State 3** Global State
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -21,10 +21,10 @@
21** belong to one (and only one) of these lists, using field 'next' of 21** belong to one (and only one) of these lists, using field 'next' of
22** the 'CommonHeader' for the link: 22** the 'CommonHeader' for the link:
23** 23**
24** allgc: all objects not marked for finalization; 24** 'allgc': all objects not marked for finalization;
25** finobj: all objects marked for finalization; 25** 'finobj': all objects marked for finalization;
26** tobefnz: all objects ready to be finalized; 26** 'tobefnz': all objects ready to be finalized;
27** fixedgc: all objects that are not to be collected (currently 27** 'fixedgc': all objects that are not to be collected (currently
28** only small strings, such as reserved words). 28** only small strings, such as reserved words).
29 29
30*/ 30*/
diff --git a/lstrlib.c b/lstrlib.c
index 18e76304..387dcd70 100644
--- a/lstrlib.c
+++ b/lstrlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstrlib.c,v 1.208 2014/10/27 13:30:24 roberto Exp roberto $ 2** $Id: lstrlib.c,v 1.209 2014/10/28 18:23:31 roberto Exp roberto $
3** Standard library for string operations and pattern-matching 3** Standard library for string operations and pattern-matching
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -1101,7 +1101,7 @@ static KOption getoption (Header *h, const char **fmt, int *size) {
1101** alignment requirements. 1101** alignment requirements.
1102** Local variable 'size' gets the size to be aligned. (Kpadal option 1102** Local variable 'size' gets the size to be aligned. (Kpadal option
1103** always gets its full alignment, other options are limited by 1103** always gets its full alignment, other options are limited by
1104** the maximum alignment ('maxalign). Kchar option needs no aligment 1104** the maximum alignment ('maxalign'). Kchar option needs no alignment
1105** despite its size. 1105** despite its size.
1106*/ 1106*/
1107static KOption getdetails (Header *h, size_t totalsize, 1107static KOption getdetails (Header *h, size_t totalsize,
diff --git a/ltests.c b/ltests.c
index 8db877dd..68f0c4a9 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.c,v 2.189 2014/10/25 11:50:46 roberto Exp roberto $ 2** $Id: ltests.c,v 2.190 2014/10/27 17:00:02 roberto Exp roberto $
3** Internal Module for Debugging of the Lua Implementation 3** Internal Module for Debugging of the Lua Implementation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -1369,7 +1369,7 @@ static void Chook (lua_State *L, lua_Debug *ar) {
1369 1369
1370 1370
1371/* 1371/*
1372** sets registry.C_HOOK[L] = scpt and sets Chook as a hook 1372** sets 'registry.C_HOOK[L] = scpt' and sets 'Chook' as a hook
1373*/ 1373*/
1374static void sethookaux (lua_State *L, int mask, int count, const char *scpt) { 1374static void sethookaux (lua_State *L, int mask, int count, const char *scpt) {
1375 if (*scpt == '\0') { /* no script? */ 1375 if (*scpt == '\0') { /* no script? */