From 7f64db3176ae723b9a17dfe644e156f42b66dd54 Mon Sep 17 00:00:00 2001
From: Giovanni Bussi <giovanni.bussi@gmail.com>
Date: Fri, 4 Jan 2019 10:50:10 +0100
Subject: [PATCH] Fixed behavior of braces

---
 src/tools/Tools.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tools/Tools.cpp b/src/tools/Tools.cpp
index 7e5ad1e5b..1420978ee 100644
--- a/src/tools/Tools.cpp
+++ b/src/tools/Tools.cpp
@@ -158,7 +158,7 @@ vector<string> Tools::getWords(const string & line,const char* separators,int *
     if(parenthesisLevel==0) for(unsigned j=0; j<sep.length(); j++) if(line[i]==sep[j]) found=true;
 // If at parenthesis level zero (outer)
     if(!(parenthesisLevel==0 && (found||onParenthesis))) word.push_back(line[i]);
-    if(onParenthesis) word.push_back(' ');
+    //if(onParenthesis) word.push_back(' ');
     if(line[i]==openpar) parenthesisLevel++;
     if(found && word.length()>0) {
       if(!parlevel) plumed_massert(parenthesisLevel==0,"Unmatching parenthesis in '" + line + "'");
-- 
GitLab