Commits

Calixte Denizet  committed f778da3

Add C++11 keywords

  • Participants
  • Parent commits 2ba9b53

Comments (0)

Files changed (1)

File pygments/lexers/compiled.py

              r'export|friend|mutable|namespace|new|operator|'
              r'private|protected|public|reinterpret_cast|'
              r'restrict|static_cast|template|this|throw|throws|'
-             r'typeid|typename|using|virtual)\b', Keyword),
+             r'typeid|typename|using|virtual|'
+             r'constexpr|nullptr|decltype|thread_local|'
+             r'alignas|alignof|static_assert|noexcept|override|final)\b', Keyword),
+            (r'(char16_t|char32_t)\b', Keyword.Type),
             (r'(class)(\s+)', bygroups(Keyword, Text), 'classname'),
             inherit,
          ],