CLI
- An attribute name may not contains spaces.
This commit is contained in:
@@ -2205,6 +2205,10 @@ bool CLI::isAttribute (const std::string& raw) const
|
|||||||
else
|
else
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
// No spaces in name.
|
||||||
|
if (attr.find (' ') != std::string::npos)
|
||||||
|
return false;
|
||||||
|
|
||||||
std::string::size_type dot = attr.find (".");
|
std::string::size_type dot = attr.find (".");
|
||||||
std::string mod = "";
|
std::string mod = "";
|
||||||
if (dot != std::string::npos)
|
if (dot != std::string::npos)
|
||||||
|
|||||||
Reference in New Issue
Block a user