lib/rouge/lexers/cpp.rb in rouge-2.0.6 vs lib/rouge/lexers/cpp.rb in rouge-2.0.7

- old
+ new

@@ -13,18 +13,19 @@ # the many varied filenames of c++ source files... filenames '*.cpp', '*.hpp', '*.c++', '*.h++', '*.cc', '*.hh', '*.cxx', '*.hxx', - '*.pde', '*.ino' + '*.pde', '*.ino', + '*.tpp' mimetypes 'text/x-c++hdr', 'text/x-c++src' def self.keywords @keywords ||= super + Set.new(%w( - asm catch const_cast delete dynamic_cast explicit export + asm auto catch const_cast delete dynamic_cast explicit export friend mutable namespace new operator private protected public - reinterpret_cast restrict static_cast template this throw - throws typeid typename using virtual + reinterpret_cast restrict size_of static_cast template this throw + throws typeid typename using virtual final override alignas alignof constexpr decltype noexcept static_assert thread_local try )) end