update colvars to version 2015-07-21

This commit is contained in:
Axel Kohlmeyer
2015-07-21 13:25:28 -04:00
parent c67b0f5aa3
commit 585a65c560
16 changed files with 247 additions and 57 deletions

View File

@ -355,6 +355,14 @@ void colvarparse::strip_values(std::string &conf)
}
void colvarparse::clear_keyword_registry()
{
allowed_keywords.clear();
data_begin_pos.clear();
data_end_pos.clear();
}
int colvarparse::check_keywords(std::string &conf, char const *key)
{
if (cvm::debug())
@ -396,9 +404,9 @@ int colvarparse::check_keywords(std::string &conf, char const *key)
return COLVARS_ERROR;
}
}
allowed_keywords.clear();
data_begin_pos.clear();
data_end_pos.clear();
clear_keyword_registry();
return COLVARS_OK;
}