git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13670 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user