- Stricter definition of what is an attribute.
This commit is contained in:
Paul Beckingham 2014-11-04 23:00:07 -05:00
parent 55962058de
commit d9712322a7

View file

@ -2202,7 +2202,7 @@ bool CLI::isAttribute (const std::string& raw) const
return false; return false;
// No spaces in name. // No spaces in name.
if (attr.find (' ') != std::string::npos) if (! isName (attr))
return false; return false;
std::string::size_type dot = attr.find ("."); std::string::size_type dot = attr.find (".");