From 46e727d5b6aaba0bc02412d080921aec58bacdc5 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 4 Nov 2011 09:10:28 +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 6eca43c4..7443f870 100644 --- a/src/filters.cc +++ b/src/filters.cc @@ -55,7 +55,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|template|typedef)\\>"); + static boost::regex types_keywords("\\<(const|auto|namespace|static|volatile|class|struct|enum|union|public|protected|private|template|typedef|virtual)\\>"); colorize_regex(display_buffer, types_keywords, Color::Green); }