summaryrefslogtreecommitdiff
path: root/tools/doc
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-04-22 00:25:13 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-04-22 00:25:13 -0300
commit66c71c21df55395adb8938dcd9c03fa3fae0043b (patch)
tree6290c304280be9523b71d8dbc322af606d85abea /tools/doc
parent8aab677906d25952d74caf434897254f3e3e99b4 (diff)
resolved some cases wehre built-in doc is not properlt generated, fixes #1719
Diffstat (limited to 'tools/doc')
-rw-r--r--tools/doc/doc_data.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/doc/doc_data.cpp b/tools/doc/doc_data.cpp
index c278662db2..b3eb6b08f7 100644
--- a/tools/doc/doc_data.cpp
+++ b/tools/doc/doc_data.cpp
@@ -59,6 +59,9 @@ void DocData::merge_from(const DocData& p_data) {
if (cf.methods[j].name!=m.name)
continue;
+ if (cf.methods[j].arguments.size()!=m.arguments.size())
+ continue;
+
const MethodDoc &mf = cf.methods[j];
m.description=mf.description;