summaryrefslogtreecommitdiff
path: root/src/plugins/constdb2doc.c
diff options
context:
space:
mode:
authorhemagx <hemagx2@gmail.com>2016-03-09 20:59:10 +0200
committerHaru <haru@dotalux.com>2016-03-11 12:30:26 +0100
commit98c1de6a66535311491899db52dc5aed52d98484 (patch)
tree32374a96daad9c79498c656824cd783115617405 /src/plugins/constdb2doc.c
parent548a5616f3080cfb260b8cdac7d5d2d168b462ca (diff)
downloadhercules-98c1de6a66535311491899db52dc5aed52d98484.tar.gz
hercules-98c1de6a66535311491899db52dc5aed52d98484.tar.bz2
hercules-98c1de6a66535311491899db52dc5aed52d98484.tar.xz
hercules-98c1de6a66535311491899db52dc5aed52d98484.zip
Hardcore Parameters from constant database to avoid synchronize issues with source
now defining new parameters in the constants.conf database is deprecated and should be defined in source instead
Diffstat (limited to 'src/plugins/constdb2doc.c')
-rw-r--r--src/plugins/constdb2doc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/constdb2doc.c b/src/plugins/constdb2doc.c
index 1d5f37ad5..cb0b82278 100644
--- a/src/plugins/constdb2doc.c
+++ b/src/plugins/constdb2doc.c
@@ -93,6 +93,10 @@ void constdb2doc_constdb(void)
script->hardcoded_constants();
fprintf(out_fp, "\n");
+ fprintf(out_fp, "## Parameters (source)\n\n");
+ script->load_parameters();
+ fprintf(out_fp, "\n");
+
/* Unlink */
script->set_constant = script_set_constant;
script->constdb_comment = script_constdb_comment;