From cf9f8c93ecdb89a025721c11f064b04bb59e14cf Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 6 Oct 2011 21:12:16 +0000 Subject: [PATCH] Filters: tweak colorize_cplusplus --- src/filters.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filters.cc b/src/filters.cc index e32950b3..0ef15811 100644 --- a/src/filters.cc +++ b/src/filters.cc @@ -48,7 +48,7 @@ void colorize_cplusplus(DisplayBuffer& display_buffer) //static boost::regex operators("->|\\+|\\-|\\*|/|\\\\|\\&|\\|\\^|[<>=!+-]=|=|\\(|\\)|\\[|\\]|\\{|\\}|\\<(not|and|or|xor)\\>"); //colorize_regex(display_buffer, operators, Color::Green); - static boost::regex types_keywords("\\<(const|auto|namespace|static|volatile|class|struct|enum|union|public|protected|private)\\>"); + static boost::regex types_keywords("\\<(const|auto|namespace|static|volatile|class|struct|enum|union|public|protected|private|template)\\>"); colorize_regex(display_buffer, types_keywords, Color::Green); }