lua

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

commit 233b71c092b742ef4b133cd2eb0adbe4f73d4ece
parent ccc4fc9cf001c19eac5be4453b76a6c438b5b1d4
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Tue,  7 Dec 2010 09:40:18 -0200

comment

Diffstat:
Mlbaselib.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lbaselib.c b/lbaselib.c @@ -1,5 +1,5 @@ /* -** $Id: lbaselib.c,v 1.251 2010/10/28 15:36:30 roberto Exp roberto $ +** $Id: lbaselib.c,v 1.252 2010/12/06 16:25:48 roberto Exp roberto $ ** Basic library ** See Copyright Notice in lua.h */ @@ -351,7 +351,7 @@ static int luaB_loadin (lua_State *L) { static int luaB_loadstring (lua_State *L) { lua_settop(L, 2); lua_pushliteral(L, "tb"); - return luaB_load(L); /* dostring(s, n) == load(s, n, "tb") */ + return luaB_load(L); /* loadstring(s, n) == load(s, n, "tb") */ } /* }====================================================== */