3c39fbca2e
[SVN r75223]
39 lines
1.8 KiB
XML
39 lines
1.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE article PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
|
|
<article id="c___test" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $" xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
<title>C++ test</title>
|
|
<articleinfo>
|
|
<legalnotice id="c___test.legal">
|
|
<para>
|
|
<code><phrase role="keyword">def</phrase> <phrase role="identifier">foo</phrase><phrase
|
|
role="special">(</phrase><phrase role="identifier">x</phrase><phrase role="special">):</phrase>
|
|
<phrase role="keyword">print</phrase> <phrase role="string">"Hello"</phrase></code>
|
|
</para>
|
|
</legalnotice>
|
|
<articlepurpose>
|
|
<code>This shouldn't be highlighted</code>
|
|
</articlepurpose>
|
|
</articleinfo>
|
|
<para>
|
|
<programlisting>This shouldn't be highlighted.</programlisting>
|
|
</para>
|
|
<para>
|
|
<programlisting><phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase role="special">()</phrase> <phrase role="special">{}</phrase></programlisting>
|
|
</para>
|
|
<para>
|
|
<programlisting><phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase role="special">()</phrase> <phrase role="special">{}</phrase></programlisting>
|
|
</para>
|
|
<para>
|
|
<programlisting><phrase role="keyword">def</phrase> <phrase role="identifier">foo</phrase><phrase role="special">():</phrase></programlisting>
|
|
</para>
|
|
<para>
|
|
<programlisting><phrase role="keyword">def</phrase> <phrase role="identifier">foo</phrase><phrase role="special">(</phrase><phrase role="identifier">x</phrase><phrase role="special">):</phrase></programlisting>
|
|
</para>
|
|
<para>
|
|
<programlisting>This shouldn't be highlighted</programlisting>
|
|
</para>
|
|
<para>
|
|
<programlisting>This shouldn't be highlighted.</programlisting>
|
|
</para>
|
|
</article>
|