1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE article PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN" "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
3 <article id="c___test" last-revision="DEBUG MODE Date: 2000/12/20 12:00:00 $" xmlns:xi="http://www.w3.org/2001/XInclude">
4 <title>C++ test</title>
6 <legalnotice id="c___test.legal">
8 <code><phrase role="keyword">def</phrase> <phrase role="identifier">foo</phrase><phrase
9 role="special">(</phrase><phrase role="identifier">x</phrase><phrase role="special">):</phrase>
10 <phrase role="keyword">print</phrase> <phrase role="string">"Hello"</phrase></code>
14 <code>This shouldn't be highlighted</code>
18 <programlisting>This shouldn't be highlighted.</programlisting>
21 <programlisting><phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase role="special">()</phrase> <phrase role="special">{}</phrase></programlisting>
24 <programlisting><phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase role="special">()</phrase> <phrase role="special">{}</phrase></programlisting>
27 <programlisting><phrase role="keyword">def</phrase> <phrase role="identifier">foo</phrase><phrase role="special">():</phrase></programlisting>
30 <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>
33 <programlisting>This shouldn't be highlighted</programlisting>
36 <programlisting>This shouldn't be highlighted.</programlisting>