boostbook/test/more/tests/ref/macro.gold
Daniel James 7d32695586 Test case for deeply nested macro
In this case the id is so long that there's nothing left of the macro name.
2017-10-30 17:09:29 +00:00

54 lines
3.5 KiB
Plaintext

<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<section id="sect0">
<section id="header.example_hpp"><title>Header &lt;<ulink url="../../example.hpp">example.hpp</ulink>&gt;</title><synopsis xmlns:xi="http://www.w3.org/2001/XInclude">
<link linkend="foo_id1">foo</link>
<link linkend="FOO_id1">FOO</link>
<link linkend="bar">bar</link>
<link linkend="REALLY__id1">REALLY_LONG_MACRO_NAME_WHICH_SHOULD_GET_TRUNCATED</link></synopsis>
<refentry xmlns:xi="http://www.w3.org/2001/XInclude" id="foo_id1"><refmeta><refentrytitle>Macro foo</refentrytitle><manvolnum>3</manvolnum></refmeta><refnamediv><refname>foo</refname><refpurpose/></refnamediv><refsynopsisdiv><synopsis><phrase role="comment">// In header: &lt;<link linkend="header.example_hpp">example.hpp</link>&gt;
</phrase>foo</synopsis></refsynopsisdiv><refsect1><title>Description</title>
</refsect1></refentry>
<refentry xmlns:xi="http://www.w3.org/2001/XInclude" id="FOO_id1"><refmeta><refentrytitle>Macro FOO</refentrytitle><manvolnum>3</manvolnum></refmeta><refnamediv><refname>FOO</refname><refpurpose/></refnamediv><refsynopsisdiv><synopsis><phrase role="comment">// In header: &lt;<link linkend="header.example_hpp">example.hpp</link>&gt;
</phrase>FOO</synopsis></refsynopsisdiv><refsect1><title>Description</title>
</refsect1></refentry>
<refentry xmlns:xi="http://www.w3.org/2001/XInclude" id="bar"><refmeta><refentrytitle>Macro bar</refentrytitle><manvolnum>3</manvolnum></refmeta><refnamediv><refname>bar</refname><refpurpose/></refnamediv><refsynopsisdiv><synopsis><phrase role="comment">// In header: &lt;<link linkend="header.example_hpp">example.hpp</link>&gt;
</phrase>bar</synopsis></refsynopsisdiv><refsect1><title>Description</title>
</refsect1></refentry>
<refentry xmlns:xi="http://www.w3.org/2001/XInclude" id="REALLY__id1"><refmeta><refentrytitle>Macro REALLY_LONG_MACRO_NAME_WHICH_SHOULD_GET_TRUNCATED</refentrytitle><manvolnum>3</manvolnum></refmeta><refnamediv><refname>REALLY_LONG_MACRO_NAME_WHICH_SHOULD_GET_TRUNCATED</refname><refpurpose/></refnamediv><refsynopsisdiv><synopsis><phrase role="comment">// In header: &lt;<link linkend="header.example_hpp">example.hpp</link>&gt;
</phrase>REALLY_LONG_MACRO_NAME_WHICH_SHOULD_GET_TRUNCATED</synopsis></refsynopsisdiv><refsect1><title>Description</title>
</refsect1></refentry>
</section>
<section id="sect1">
<section id="sect2">
<section id="sect3">
<section id="sect4">
<section id="sect5">
<section id="sect6">
<section id="sect7">
<section id="sect8">
<section id="sect9">
<section id="sect10">
<section id="header.example2_hpp"><title>Header &lt;<ulink url="../../example2.hpp">example2.hpp</ulink>&gt;</title><synopsis xmlns:xi="http://www.w3.org/2001/XInclude">
<link linkend="REALLY__id2">REALLY_LONG_MACRO_NAME_WHICH_SHOULD_GET_TRUNCATED</link></synopsis>
<refentry xmlns:xi="http://www.w3.org/2001/XInclude" id="REALLY__id2"><refmeta><refentrytitle>Macro REALLY_LONG_MACRO_NAME_WHICH_SHOULD_GET_TRUNCATED</refentrytitle><manvolnum>3</manvolnum></refmeta><refnamediv><refname>REALLY_LONG_MACRO_NAME_WHICH_SHOULD_GET_TRUNCATED</refname><refpurpose/></refnamediv><refsynopsisdiv><synopsis><phrase role="comment">// In header: &lt;<link linkend="header.example2_hpp">example2.hpp</link>&gt;
</phrase>REALLY_LONG_MACRO_NAME_WHICH_SHOULD_GET_TRUNCATED</synopsis></refsynopsisdiv><refsect1><title>Description</title>
</refsect1></refentry>
</section>
</section>
</section>
</section>
</section>
</section>
</section>
</section>
</section>
</section>
</section>
</section>