• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
2<section id="header.example_hpp"><title>Header &lt;<ulink url="../../example.hpp">example.hpp</ulink>&gt;</title><para>
3    Fake reference documentation, so that the syntax highlighter will kick in.
4  </para><synopsis xmlns:xi="http://www.w3.org/2001/XInclude">
5
6<link linkend="foo">foo</link></synopsis>
7
8
9  <refentry xmlns:xi="http://www.w3.org/2001/XInclude" id="foo"><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;
10
11</phrase>foo</synopsis></refsynopsisdiv><refsect1><title>Description</title>
12      <programlisting><phrase role="comment">/* C style comment */</phrase></programlisting>
13      <programlisting><phrase role="comment">/* Broken C style comment</phrase></programlisting>
14      <programlisting>
15<phrase role="comment">/* Multi-line
16 *comment
17 */</phrase></programlisting>
18      <programlisting><phrase role="comment">/*/ Tricky comment */</phrase></programlisting>
19      <programlisting><phrase role="comment">/**/</phrase></programlisting>
20      <programlisting><phrase role="comment">/***/</phrase></programlisting>
21      <programlisting><phrase role="comment">// Single line comment</phrase></programlisting>
22      <programlisting><phrase role="comment">// Single line comment</phrase>
23</programlisting>
24    </refsect1></refentry>
25
26</section>