diff options
author | Georg Brandl <georg@python.org> | 2015-04-08 07:56:03 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2015-04-08 07:56:03 +0200 |
commit | 4f2a6c2f49d221b6e815ba4df96c5440cffc30d5 (patch) | |
tree | 79e8ad64c1c4d9a2d172852264c59cd766be8652 | |
parent | 0d7e4c7183fc3a53dfeadb800285debf83eb84b0 (diff) | |
download | pygments-4f2a6c2f49d221b6e815ba4df96c5440cffc30d5.tar.gz |
Closes #1094: add try as a C++ keyword.
-rw-r--r-- | pygments/lexers/c_cpp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/c_cpp.py b/pygments/lexers/c_cpp.py index b565b97b..bbac406e 100644 --- a/pygments/lexers/c_cpp.py +++ b/pygments/lexers/c_cpp.py @@ -202,7 +202,7 @@ class CppLexer(CFamilyLexer): 'export', 'friend', 'mutable', 'namespace', 'new', 'operator', 'private', 'protected', 'public', 'reinterpret_cast', 'restrict', 'static_cast', 'template', 'this', 'throw', 'throws', - 'typeid', 'typename', 'using', 'virtual', + 'try', 'typeid', 'typename', 'using', 'virtual', 'constexpr', 'nullptr', 'decltype', 'thread_local', 'alignas', 'alignof', 'static_assert', 'noexcept', 'override', 'final'), suffix=r'\b'), Keyword), |