lua

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

commit 745618d941d30ad6a1a3dddd6127df1e9d6280a0
parent 89602bf7476c6ecf04cc0e0125b9664dc15ebb08
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Wed, 15 Oct 2014 11:30:45 -0300

'charpatt' -> 'charpattern'

Diffstat:
Mlutf8lib.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lutf8lib.c b/lutf8lib.c @@ -1,5 +1,5 @@ /* -** $Id: lutf8lib.c,v 1.10 2014/07/16 13:56:14 roberto Exp roberto $ +** $Id: lutf8lib.c,v 1.11 2014/10/01 11:52:33 roberto Exp roberto $ ** Standard library for UTF-8 manipulation ** See Copyright Notice in lua.h */ @@ -239,7 +239,7 @@ static struct luaL_Reg funcs[] = { {"len", utflen}, {"codes", iter_codes}, /* placeholders */ - {"charpatt", NULL}, + {"charpattern", NULL}, {NULL, NULL} }; @@ -247,7 +247,7 @@ static struct luaL_Reg funcs[] = { LUAMOD_API int luaopen_utf8 (lua_State *L) { luaL_newlib(L, funcs); lua_pushliteral(L, UTF8PATT); - lua_setfield(L, -2, "charpatt"); + lua_setfield(L, -2, "charpattern"); return 1; }