diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-25 16:18:49 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-25 16:18:49 -0300 |
commit | 78c507b7b83a85c106b619ce2050725a80627a25 (patch) | |
tree | a2d2f27f3a98bca084f7430c085fe30763d6108a /lstrlib.c | |
parent | 69906cb56f1fbc20417f0ca973b3e97ef0c4bc5a (diff) | |
download | lua-78c507b7b83a85c106b619ce2050725a80627a25.tar.gz lua-78c507b7b83a85c106b619ce2050725a80627a25.tar.bz2 lua-78c507b7b83a85c106b619ce2050725a80627a25.zip |
`lua_upcall' -> `lua_call'
Diffstat (limited to 'lstrlib.c')
-rw-r--r-- | lstrlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstrlib.c,v 1.84 2002/06/13 13:44:50 roberto Exp roberto $ | 2 | ** $Id: lstrlib.c,v 1.85 2002/06/18 15:16:18 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 | */ |
@@ -548,7 +548,7 @@ static void add_s (MatchState *ms, luaL_Buffer *b, | |||
548 | int n; | 548 | int n; |
549 | lua_pushvalue(L, 3); | 549 | lua_pushvalue(L, 3); |
550 | n = push_captures(ms, s, e); | 550 | n = push_captures(ms, s, e); |
551 | lua_upcall(L, n, 1); | 551 | lua_call(L, n, 1); |
552 | if (lua_isstring(L, -1)) | 552 | if (lua_isstring(L, -1)) |
553 | luaL_addvalue(b); /* add return to accumulated result */ | 553 | luaL_addvalue(b); /* add return to accumulated result */ |
554 | else | 554 | else |