diff options
Diffstat (limited to 'src/nlua0.c')
-rw-r--r-- | src/nlua0.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nlua0.c b/src/nlua0.c index af811df324..2cfa16b804 100644 --- a/src/nlua0.c +++ b/src/nlua0.c @@ -9,5 +9,10 @@ LUA_API int luaopen_nlua0(lua_State* L) { luaopen_mpack(L); lua_setfield(L, -2, "mpack"); + int luaopen_lpeg(lua_State *); + luaopen_lpeg(L); + lua_setfield(L, -3, "lpeg"); + lua_pop(L, 2); + return 1; } |