aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/Makefile6
-rw-r--r--src/lua/lua_parsers.c6
2 files changed, 7 insertions, 5 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 6c99a9288..e93481bb7 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -21,7 +21,7 @@ lua-dirs:
lua-doc: lua-dirs rspamd_regexp rspamd_ip rspamd_config rspamd_task ucl rspamd_http rspamd_trie \
rspamd_resolver rspamd_redis rspamd_upstream_list rspamd_expression rspamd_mimepart rspamd_logger rspamd_url \
rspamd_tcp rspamd_mempool rspamd_html rspamd_util rspamd_sqlite3 rspamd_cryptobox rspamd_map \
- lua_redis lua_util lua_maps lua_clickhouse lua_selectors rspamd_udp rspamd_text lua_mime
+ lua_redis lua_util lua_maps lua_clickhouse lua_selectors rspamd_udp rspamd_text lua_mime rspamd_parsers
lua_redis:
$(LLUADOC) < ../lualib/lua_redis.lua > markdown/lua/lua_redis.md
@@ -86,4 +86,6 @@ rspamd_map: ../src/lua/lua_map.c
rspamd_udp: ../src/lua/lua_udp.c
$(LUADOC) < ../src/lua/lua_udp.c > markdown/lua/rspamd_udp.md
rspamd_text: ../src/lua/lua_text.c
- $(LUADOC) < ../src/lua/lua_text.c > markdown/lua/rspamd_text.md \ No newline at end of file
+ $(LUADOC) < ../src/lua/lua_text.c > markdown/lua/rspamd_text.md
+rspamd_parsers: ../src/lua/lua_parsers.c
+ $(LUADOC) < ../src/lua/lua_parsers.c > markdown/lua/rspamd_parsers.md \ No newline at end of file
diff --git a/src/lua/lua_parsers.c b/src/lua/lua_parsers.c
index 01d7fecc7..edc838b6c 100644
--- a/src/lua/lua_parsers.c
+++ b/src/lua/lua_parsers.c
@@ -25,12 +25,12 @@
#include "lua_parsers.h"
/***
- * @module rspamd_util
+ * @module rspamd_parsers
* This module contains Lua-C interfaces to Rspamd parsers of different kind.
*/
/***
- * @function util.tokenize_text(input[, exceptions])
+ * @function parsers.tokenize_text(input[, exceptions])
* Create tokens from a text using optional exceptions list
* @param {text/string} input input data
* @param {table} exceptions, a table of pairs containing <start_pos,length> of exceptions in the input
@@ -268,7 +268,7 @@ lua_parsers_parse_mail_address (lua_State *L)
}
else {
pool = rspamd_mempool_new (rspamd_mempool_suggest_size (),
- "lua util", 0);
+ "lua parsers", 0);
own_pool = TRUE;
}