From 3466cc2d861e7da7275284b2a38f34dc07ba01b4 Mon Sep 17 00:00:00 2001 From: Jorge Costa Date: Sat, 10 Sep 2016 17:58:45 +0300 Subject: [PATCH] Update highlighter.cc --- .../src/test/resources/org/sonar/plugins/cxx/highlighter.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sonar-cxx-plugin/src/test/resources/org/sonar/plugins/cxx/highlighter.cc b/sonar-cxx-plugin/src/test/resources/org/sonar/plugins/cxx/highlighter.cc index 78aca24cd0..aed653710d 100644 --- a/sonar-cxx-plugin/src/test/resources/org/sonar/plugins/cxx/highlighter.cc +++ b/sonar-cxx-plugin/src/test/resources/org/sonar/plugins/cxx/highlighter.cc @@ -10,6 +10,7 @@ // PREPROCESS_DIRECTIVE // #include "highlighter.h" +#include #ifdef _TEST # define VALUE 1 @@ -54,6 +55,7 @@ const char* str1 = "hello\tworld\r\n"; // void func() { + const std::regex RegexEscape(R"([.^$|()\[\]{}*+?\\])"); auto str = "test"; // comment // comment auto iii = 0;