diff --git a/src/main.cpp b/src/main.cpp index e7d42b8..182ebb6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -39,8 +39,8 @@ using namespace monicelli; -boost::regex NAME_RE("^(.+)\\.mc$"); -boost::regex MODULE_RE("^(.+)\\.mm$"); +static const boost::regex NAME_RE("^(.+)\\.mc$"); +static const boost::regex MODULE_RE("^(.+)\\.mm$"); int process(std::string const&, std::function);