- Added comma (,) to the set of acceptable characters for a UUID list.
This commit is contained in:
Paul Beckingham 2014-10-20 00:22:02 -04:00
parent 7f61bcecca
commit c8f49bcafb

View file

@ -881,7 +881,7 @@ void CLI::unsweetenUUIDs ()
std::string raw = a->attribute ("raw");
// UUIDs have a limited character set.
if (raw.find_first_not_of ("0123456789abcdefABCDEF-") == std::string::npos)
if (raw.find_first_not_of ("0123456789abcdefABCDEF-,") == std::string::npos)
{
Nibbler n (raw);
std::vector <std::string> uuidList;
@ -920,7 +920,7 @@ void CLI::unsweetenUUIDs ()
A uuid ("argSeq", "uuid");
uuid.tag ("FILTER");
uuid.tag ("UUID");
uuid.tag ("ATTR");
reconstructed.push_back (uuid);
A equal ("argSeq", "=");
@ -930,7 +930,7 @@ void CLI::unsweetenUUIDs ()
A value ("argSeq", "'" + *u + "'");
value.tag ("FILTER");
value.tag ("LITERAL");
value.tag ("STRING");
reconstructed.push_back (value);
}