lua

A copy of the Lua development repository
Log | Files | Refs | README

commit d477e4ffd69dc530e3369015190db880de90aaf2
parent ce09af1e25c1bd033f020f644095ded24216ee30
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Fri,  4 Oct 2002 11:30:09 -0300

detail

Diffstat:
Mltablib.c | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/ltablib.c b/ltablib.c @@ -1,5 +1,5 @@ /* -** $Id: ltablib.c,v 1.11 2002/08/06 17:06:56 roberto Exp roberto $ +** $Id: ltablib.c,v 1.12 2002/08/06 18:01:50 roberto Exp roberto $ ** Library for Table Manipulation ** See Copyright Notice in lua.h */ @@ -156,8 +156,7 @@ static int str_concat (lua_State *L) { luaL_buffinit(L, &b); for (i=1; i<=n; i++) { lua_rawgeti(L, 1, i); - luaL_arg_check(L, lua_isstring(L, -1), 1, - "table contains non-strings"); + luaL_arg_check(L, lua_isstring(L, -1), 1, "table contains non-strings"); luaL_addvalue(&b); if (i != n) luaL_addlstring(&b, sep, lsep);