From 78c507b7b83a85c106b619ce2050725a80627a25 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 25 Jun 2002 16:18:49 -0300 Subject: `lua_upcall' -> `lua_call' --- lstrlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lstrlib.c') diff --git a/lstrlib.c b/lstrlib.c index a5a281c0..540c13a0 100644 --- a/lstrlib.c +++ b/lstrlib.c @@ -1,5 +1,5 @@ /* -** $Id: lstrlib.c,v 1.84 2002/06/13 13:44:50 roberto Exp roberto $ +** $Id: lstrlib.c,v 1.85 2002/06/18 15:16:18 roberto Exp roberto $ ** Standard library for string operations and pattern-matching ** See Copyright Notice in lua.h */ @@ -548,7 +548,7 @@ static void add_s (MatchState *ms, luaL_Buffer *b, int n; lua_pushvalue(L, 3); n = push_captures(ms, s, e); - lua_upcall(L, n, 1); + lua_call(L, n, 1); if (lua_isstring(L, -1)) luaL_addvalue(b); /* add return to accumulated result */ else -- cgit v1.2.3-55-g6feb