diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-13 10:44:50 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-13 10:44:50 -0300 |
commit | eb3de8768a6b614597f7e5f018fc31a9f52441df (patch) | |
tree | ea6e0e48f6d6d8bccb4c168171bbb13a3bca1c99 /lstrlib.c | |
parent | 864c96f36ce8410b03652b1cb9800e4b3c76bcf7 (diff) | |
download | lua-eb3de8768a6b614597f7e5f018fc31a9f52441df.tar.gz lua-eb3de8768a6b614597f7e5f018fc31a9f52441df.tar.bz2 lua-eb3de8768a6b614597f7e5f018fc31a9f52441df.zip |
`rawcall' -> `upcall' (unprotected 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.82 2002/05/06 19:05:10 roberto Exp roberto $ | 2 | ** $Id: lstrlib.c,v 1.83 2002/06/05 17:24:04 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_rawcall(L, n, 1); | 551 | lua_upcall(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 |