summaryrefslogtreecommitdiff
path: root/src/lstrlib.c
diff options
context:
space:
mode:
authorLua Team <team@lua.org>2010-11-22 12:00:00 +0000
committerrepogen <>2010-11-22 12:00:00 +0000
commitfb0603dc21768ef06c36dfebe3e812010cbb759a (patch)
tree9f2613bf0fdb20f9354032bd956f4e0ff1018adc /src/lstrlib.c
parent850a3d8f8d2ef75c2e7579f31e3b301a72c279cd (diff)
downloadlua-github-5.2.0-alpha-rc3.tar.gz
Lua 5.2.0-alpha-rc35.2.0-alpha-rc3
Diffstat (limited to 'src/lstrlib.c')
-rw-r--r--src/lstrlib.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lstrlib.c b/src/lstrlib.c
index 82c2005e..2491bbb4 100644
--- a/src/lstrlib.c
+++ b/src/lstrlib.c
@@ -1,5 +1,5 @@
/*
-** $Id: lstrlib.c,v 1.158 2010/11/16 20:39:41 roberto Exp $
+** $Id: lstrlib.c,v 1.159 2010/11/19 16:25:51 roberto Exp $
** Standard library for string operations and pattern-matching
** See Copyright Notice in lua.h
*/
@@ -614,12 +614,6 @@ static int gmatch (lua_State *L) {
}
-static int gfind_nodef (lua_State *L) {
- return luaL_error(L, LUA_QL("string.gfind") " was renamed to "
- LUA_QL("string.gmatch"));
-}
-
-
static void add_s (MatchState *ms, luaL_Buffer *b, const char *s,
const char *e) {
size_t l, i;
@@ -912,7 +906,6 @@ static const luaL_Reg strlib[] = {
{"dump", str_dump},
{"find", str_find},
{"format", str_format},
- {"gfind", gfind_nodef},
{"gmatch", gmatch},
{"gsub", str_gsub},
{"len", str_len},