mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Attribute Parsing
- Attributes do not contain spaces unless specifically quoted and escaped.
This commit is contained in:
parent
a171f6e4ac
commit
a91b6d4564
2 changed files with 7 additions and 6 deletions
|
@ -145,7 +145,7 @@ void A3::capture (int argc, const char** argv)
|
|||
void A3::capture (const std::string& arg)
|
||||
{
|
||||
std::vector <std::string> parts;
|
||||
this->push_back (Arg (arg, ""));
|
||||
this->push_back (Arg (arg, ""));
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -1214,6 +1214,7 @@ bool A3::is_attr (Nibbler& n, std::string& result)
|
|||
if (n.getQuoted ('"', value) ||
|
||||
n.getQuoted ('\'', value) ||
|
||||
n.getName (value) ||
|
||||
n.getUntilWS (value) ||
|
||||
n.getUntilEOS (value) ||
|
||||
n.depleted ())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue