details in comments

This commit is contained in:
Roberto Ierusalimschy 2014-08-01 14:24:02 -03:00
parent 61fa462535
commit f5c690b684
3 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
/*
** $Id: lobject.c,v 2.87 2014/06/30 19:48:08 roberto Exp roberto $
** $Id: lobject.c,v 2.88 2014/07/30 14:00:14 roberto Exp roberto $
** Some generic functions over Lua objects
** See Copyright Notice in lua.h
*/
@ -359,7 +359,7 @@ static void pushstr (lua_State *L, const char *str, size_t l) {
/* this function handles only '%d', '%c', '%f', '%p', and '%s'
conventional formats, plus Lua-specific '%L' and '%U' */
conventional formats, plus Lua-specific '%I' and '%U' */
const char *luaO_pushvfstring (lua_State *L, const char *fmt, va_list argp) {
int n = 0;
for (;;) {

View File

@ -1,5 +1,5 @@
/*
** $Id: ltable.c,v 2.92 2014/07/18 13:36:14 roberto Exp roberto $
** $Id: ltable.c,v 2.93 2014/07/29 16:22:24 roberto Exp roberto $
** Lua tables (hash)
** See Copyright Notice in lua.h
*/
@ -440,7 +440,7 @@ TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key) {
Node *f = getfreepos(t); /* get a free place */
if (f == NULL) { /* cannot find a free place? */
rehash(L, t, key); /* grow table */
/* whatever called 'newkey' take care of TM cache and GC barrier */
/* whatever called 'newkey' takes care of TM cache and GC barrier */
return luaH_set(L, t, key); /* insert key into grown table */
}
lua_assert(!isdummy(f));

6
lvm.h
View File

@ -1,5 +1,5 @@
/*
** $Id: lvm.h,v 2.32 2014/07/30 14:00:14 roberto Exp roberto $
** $Id: lvm.h,v 2.33 2014/07/30 14:42:44 roberto Exp roberto $
** Lua virtual machine
** See Copyright Notice in lua.h
*/
@ -16,14 +16,14 @@
#if !defined(LUA_NOCVTN2S)
#define cvt2str(o) ttisnumber(o)
#else
#define cvt2str(o) 0 /* no convertion from numbers to strings */
#define cvt2str(o) 0 /* no conversion from numbers to strings */
#endif
#if !defined(LUA_NOCVTS2N)
#define cvt2num(o) ttisstring(o)
#else
#define cvt2num(o) 0 /* no convertion from strings to numbers */
#define cvt2num(o) 0 /* no conversion from strings to numbers */
#endif