<document exts="cpp;c;h;hh;cxx;hpp;cc" langs="c++;c">

<item name="options" wrap="0"> 
</item>

<item name="keywords" type="keywords" color="keywords" fontstyle="bold">\basm\b;\bauto\b;\bbreak\b;\bcase\b;
\bcatch\b;\bclass\b;\bconst\b;\bconst_cast\b;
\bcontinue\b;\bdefault\b;\bdelete\b;
\bdo\b;\bdynamic_cast\b;\belse\b;\benum\b;
\bexplicit\b;\bextern\b;\bfalse\b;\bfor\b;
\bfriend\b;\bgoto\b;\bif\b;\binline\b;
\bmutable\b;\bnamespace\b;\bnew\b;
\boperator\b;\bprivate\b;\bprotected\b;
\bpublic\b;\bregister\b;\breinterpret_cast\b;
\breturn\b;\bsignals\b;\bsizeof\b;\bslots\b;
\bstatic\b;\bstatic_cast\b;\bstruct\b;\bswitch\b;
\btemplate\b;\bthis\b;\bthrow\b;\btrue\b;
\btry\b;\btypedef\b;\btypeid\b;\btypename\b;
\bunion\b;\busing\b;\bvirtual\b;\bvolatile\b;
\bwhile\b;\bforeach\b;\bstatic_cast\b;\breinterpret_cast\b;\bdynamic_cast\b;\bconst_cast\b;\bnamespace\b;\bthrow\b;\bexport\b;\basm\b;\bcatch\b</item>

<item name="types" type="keywords" color="type">\bbool\b;\bchar\b;\bdouble\b;
\bfloat\b;\bint\b;\blong\b;\bshort\b;\bsigned\b;\bsize_t\b;\bunsigned\b;\bvoid\b;\bwchar_t\b</item>

<item name="class" type="item" color="class">\bQ[A-Za-z]+\b</item>

<item name="class" type="item" color="class">\bC[A-Za-z]+\b</item>

<item name="operator" type="item" color="operator" fontstyle="bold">[=\+\*\/\(\)\[]|]</item>

<item name="include" type="item" color="include" fontstyle="italic">^#include</item>

<item name="label" type="item" color="label" fontstyle="bold">^[a-zA-Z_][a-zA-Z0-9_]*\:$</item>

<item name="preproc" type="item" color="preproc" fontstyle="italic">^#.*</item>

<item name="quotes" type="item" color="quotes">("[^\"]*")</item>

<item name="char" type="item" color="quotes">('[^']*')</item>

<item name="single comment" type="item" color="single comment" fontstyle="italic">//[^\n]*</item>

<item name="mcomment-start" type="mcomment-start" color="mcomment-start" fontstyle="italic">/\*</item>

<item name="mcomment-end" type="mcomment-end">\*/</item>

<item name="cm_mult" type="comment">/*%s*/</item>
<item name="cm_single" type="comment">//%s</item>

</document>