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> 5 <articleinfo> 6 <legalnotice id="c___test.legal"> 7 <para> 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> 11 </para> 12 </legalnotice> 13 <articlepurpose> 14 <code>This shouldn't be highlighted</code> 15 </articlepurpose> 16 </articleinfo> 17 <para> 18<programlisting>This shouldn't be highlighted.</programlisting> 19 </para> 20 <para> 21<programlisting><phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase role="special">()</phrase> <phrase role="special">{}</phrase></programlisting> 22 </para> 23 <para> 24<programlisting><phrase role="keyword">int</phrase> <phrase role="identifier">main</phrase><phrase role="special">()</phrase> <phrase role="special">{}</phrase></programlisting> 25 </para> 26 <para> 27<programlisting><phrase role="keyword">def</phrase> <phrase role="identifier">foo</phrase><phrase role="special">():</phrase></programlisting> 28 </para> 29 <para> 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> 31 </para> 32 <para> 33<programlisting>This shouldn't be highlighted</programlisting> 34 </para> 35 <para> 36<programlisting>This shouldn't be highlighted.</programlisting> 37 </para> 38</article> 39