src/lxplib.c

changeset 33
94f496ee93cb
parent 32
73adc42f35ce
child 34
94cef523ac31
--- a/src/lxplib.c	Fri Apr 23 20:01:26 2021 +0100
+++ b/src/lxplib.c	Fri Apr 23 20:01:38 2021 +0100
@@ -602,7 +602,7 @@
 	luaL_setfuncs (L, lxp_meths, 0);
 	lua_pop (L, 1); /* remove metatable */
 
-	lua_newtable (L);
+	lua_newtable (L); /* push library table */
 	luaL_setfuncs (L, lxp_funcs, 0);
 	set_info (L);
 	return 1;

mercurial