From 01314f53987e57c4fcb49fb86d3971bdb206857f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 11 Feb 2016 05:53:12 +0200 Subject: Add support for ids in paragraphs, local fragment references in links For example: " \h#hello|Hello Example| See the \l{#hello Hello Example} " --- cli/source.cxx | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'cli/source.cxx') diff --git a/cli/source.cxx b/cli/source.cxx index 57f5922..0184da6 100644 --- a/cli/source.cxx +++ b/cli/source.cxx @@ -751,6 +751,8 @@ namespace len = max; } + + verify_id_ref (); } string up (cli + "::usage_para"); @@ -791,6 +793,8 @@ namespace os << "return p;" << "}"; + verify_id_ref (); + // Long version. // if (usage == ut_both) @@ -826,6 +830,8 @@ namespace os << "return p;" << "}"; + + verify_id_ref (); } } @@ -1126,6 +1132,8 @@ generate_source (context& ctx) os << "return p;" << "}"; + + ctx.verify_id_ref (); } // Long version. @@ -1166,6 +1174,8 @@ generate_source (context& ctx) os << "return p;" << "}"; + + ctx.verify_id_ref (); } ctx.ns_close (qn, false); -- cgit v1.1