From 85c033db64a72d15bd1ef78b65f56cc3336eadc7 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sat, 21 Dec 2019 18:00:02 +0100 Subject: [PATCH] Small doc fixes --- src/db/db/gsiDeclDbLayoutToNetlist.cc | 8 +++++--- src/lay/lay/layGSIHelpProvider.cc | 4 +--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/db/db/gsiDeclDbLayoutToNetlist.cc b/src/db/db/gsiDeclDbLayoutToNetlist.cc index eab15bca5..dc65068cc 100644 --- a/src/db/db/gsiDeclDbLayoutToNetlist.cc +++ b/src/db/db/gsiDeclDbLayoutToNetlist.cc @@ -329,7 +329,7 @@ Class decl_dbLayoutToNetlist ("db", "LayoutToNetlist", gsi::method ("global_net_name", &db::LayoutToNetlist::global_net_name, gsi::arg ("global_net_id"), "@brief Gets the global net name for the given global net ID." ) + - gsi::method ("extract_netlist", &db::LayoutToNetlist::extract_netlist, gsi::arg ("join_net_names", std::string ()), gsi::arg ("include_floating_subcircuits", false), + gsi::method ("extract_netlist", &db::LayoutToNetlist::extract_netlist, gsi::arg ("join_net_names", std::string (), "\"\""), gsi::arg ("include_floating_subcircuits", false), "@brief Runs the netlist extraction\n" "'join_net_names' is a glob expression for labels. Nets on top level carrying the same label which matches this glob " "expression will be connected implicitly even if there is no physical connection. This feature is useful to simulate a connection " @@ -359,12 +359,14 @@ Class decl_dbLayoutToNetlist ("db", "LayoutToNetlist", "@brief Runs the netlist extraction\n" "This method runs the netlist extraction like the two-parameter version. In addition to the latter, this method " "can be given a per-cell net label joining specification in 'join_net_names_per_cell'. The keys of this array " - "are cell names or cell names or cell name match expressions (glob style). The values are lable match expressions.\n" + "are cell names or cell names or cell name match expressions (glob style). The values are label match expressions.\n" "\n" "If not an empty string, the 'join_net_names' label match expression is applied to the top cell. For all non-top cells " "the per-cell label match expression is applied and determines what labels are joined into single nets. " "As the keys of 'join_net_names_per_cell' are glob expressions, a single cell may fall into more than one category. In this " - "case, the label match pattern are combined. In any case, the 'join_net_names' has priority for the top cell." + "case, the label match pattern are combined. In any case, the 'join_net_names' has priority for the top cell.\n" + "\n" + "This variant of 'extract_netlist' has been introduced in version 0.26.2." ) + gsi::method_ext ("internal_layout", &l2n_internal_layout, "@brief Gets the internal layout\n" diff --git a/src/lay/lay/layGSIHelpProvider.cc b/src/lay/lay/layGSIHelpProvider.cc index ee14780c4..48121cd71 100644 --- a/src/lay/lay/layGSIHelpProvider.cc +++ b/src/lay/lay/layGSIHelpProvider.cc @@ -796,7 +796,6 @@ method_arguments (const gsi::MethodBase *method, const gsi::ClassBase *cls_obj, if (i > 0) { r += ","; r += sep; - r += " "; } r += escape_xml (doc.args [i]); } @@ -816,7 +815,6 @@ method_arguments (const gsi::MethodBase *method, const gsi::ClassBase *cls_obj, if (n > 0) { r += ","; r += sep; - r += " "; } r += type_to_s (*a, linked, false); r += " "; @@ -1312,7 +1310,7 @@ GSIHelpProvider::produce_class_doc (const std::string &cls) const if (! attr.empty ()) { os << "[" << escape_xml (attr) << "] "; } - os << method_return (i->second.first, method_doc, true) << " " << escape_xml (i->first) << " " << method_arguments (i->second.first, cls_obj, method_doc, true, ""); + os << method_return (i->second.first, method_doc, true) << " " << escape_xml (i->first) << " " << method_arguments (i->second.first, cls_obj, method_doc, true, " "); os << "

" << std::endl; os << "

" << tl::to_string (QObject::tr ("Description")) << ": " << replace_references (escape_xml (method_doc.brief_doc), cls_obj) << "

" << std::endl;