aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/lexers/cpp.tes
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lexers/cpp.tes')
-rw-r--r--lib/lexers/cpp.tes33
1 files changed, 10 insertions, 23 deletions
diff --git a/lib/lexers/cpp.tes b/lib/lexers/cpp.tes
index 4a3a181..851e82a 100644
--- a/lib/lexers/cpp.tes
+++ b/lib/lexers/cpp.tes
@@ -1,7 +1,9 @@
-! C/C++ Lexing !
+!*
+ * C++ Lexing: Also used for all *.h headers since
+ * they cannot be distinguished.
+ *!
@[lexer.test.cpp]{
- :EN*.cQ*"S -1 '
:EN*.ccQ*"S -1 '
:EN*.cppQ*"S -1 '
:EN*.cxxQ*"S -1 '
@@ -10,34 +12,19 @@
:EN*.hppQ*"S -1 '
:EN*.hxxQ*"S -1 '
:EN*.ippQ*"S -1 '
- :EN*.mQ*"S -1 '
- :EN*.mmQ*"S -1 '
:EN*.smaQ*
}
@[lexer.set.cpp]{
ESSETLEXERLANGUAGEcpp
0ESSETKEYWORDS
- and and_eq asm auto bitand bitor bool break case catch char class compl
- const const_cast constexpr continue default delete do double dynamic_cast else
- enum explicit export extern false float for friend goto if inline int long
- mutable namespace new not not_eq operator or or_eq private protected public register
- reinterpret_cast return short signed sizeof static static_cast struct switch template this
- throw true try typedef typeid typename union unsigned using virtual void volatile
- wchar_t while xor xor_eq @class @defs @protocol @required @optional @end @interface
- @public @package @protected @private @property @implementation @synthesize @dynamic
- @throw @try @catch @finally @synchronized @autoreleasepool @selector @encode
- @compatibility_alias
+ Q[lexer.c.basekeywords]
+ and and_eq bitand bitor catch class compl const_cast constexpr delete dynamic_cast
+ explicit export friend mutable namespace new not not_eq operator or or_eq
+ private protected public reinterpret_cast static_cast template this
+ throw try typeid typename using virtual xor xor_eq
! Doxygen keywords !
- 2ESSETKEYWORDS
- a addindex addtogroup anchor arg attention author b brief bug c class code
- date def defgroup deprecated dontinclude e em endcode endhtmlonly endif
- endlatexonly endlink endverbatim enum example exception f$ f[ f] file fn hideinitializer
- htmlinclude htmlonly if image include ingroup internal invariant interface latexonly li
- line link mainpage name namespace nosubgrouping note overload p page par param
- param[in] param[out] post pre ref relates remarks return retval sa section see
- showinitializer since skip skipline struct subsection test throw throws todo typedef union
- until var verbatim verbinclude version warning weakgroup $ @ \ & < > # { }
+ 2ESSETKEYWORDSQ[lexer.c.doxygenkeywords]
:M[color.comment],1M[color.set]
:M[color.comment],2M[color.set]
:M[color.comment],3M[color.set]