diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-10-15 11:31:10 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-10-15 11:31:10 -0300 |
| commit | 745618d941d30ad6a1a3dddd6127df1e9d6280a0 (patch) | |
| tree | 6941f450d1985362d312edb27159f8453e3f99f5 | |
| parent | 89602bf7476c6ecf04cc0e0125b9664dc15ebb08 (diff) | |
| download | lua-745618d941d30ad6a1a3dddd6127df1e9d6280a0.tar.gz lua-745618d941d30ad6a1a3dddd6127df1e9d6280a0.tar.bz2 lua-745618d941d30ad6a1a3dddd6127df1e9d6280a0.zip | |
'charpatt' -> 'charpattern'
Diffstat (limited to '')
| -rw-r--r-- | lutf8lib.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lutf8lib.c,v 1.10 2014/07/16 13:56:14 roberto Exp roberto $ | 2 | ** $Id: lutf8lib.c,v 1.11 2014/10/01 11:52:33 roberto Exp roberto $ |
| 3 | ** Standard library for UTF-8 manipulation | 3 | ** Standard library for UTF-8 manipulation |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -239,7 +239,7 @@ static struct luaL_Reg funcs[] = { | |||
| 239 | {"len", utflen}, | 239 | {"len", utflen}, |
| 240 | {"codes", iter_codes}, | 240 | {"codes", iter_codes}, |
| 241 | /* placeholders */ | 241 | /* placeholders */ |
| 242 | {"charpatt", NULL}, | 242 | {"charpattern", NULL}, |
| 243 | {NULL, NULL} | 243 | {NULL, NULL} |
| 244 | }; | 244 | }; |
| 245 | 245 | ||
| @@ -247,7 +247,7 @@ static struct luaL_Reg funcs[] = { | |||
| 247 | LUAMOD_API int luaopen_utf8 (lua_State *L) { | 247 | LUAMOD_API int luaopen_utf8 (lua_State *L) { |
| 248 | luaL_newlib(L, funcs); | 248 | luaL_newlib(L, funcs); |
| 249 | lua_pushliteral(L, UTF8PATT); | 249 | lua_pushliteral(L, UTF8PATT); |
| 250 | lua_setfield(L, -2, "charpatt"); | 250 | lua_setfield(L, -2, "charpattern"); |
| 251 | return 1; | 251 | return 1; |
| 252 | } | 252 | } |
| 253 | 253 | ||
