mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-29 17:07:19 +02:00
Code Cleanup
- Eliminated valid.cpp by relocating functions to more sensible locations.
This commit is contained in:
parent
52052f91f9
commit
1f3092469e
6 changed files with 75 additions and 134 deletions
|
@ -437,7 +437,7 @@ void Context::parse (
|
|||
// Tags to include begin with '+'.
|
||||
else if (arg->length () > 1 &&
|
||||
(*arg)[0] == '+' &&
|
||||
validTag (*arg))
|
||||
noSpaces (*arg))
|
||||
{
|
||||
debug ("parse tag addition '" + *arg + "'");
|
||||
if (foundSequence)
|
||||
|
@ -454,7 +454,7 @@ void Context::parse (
|
|||
// Tags to remove begin with '-'.
|
||||
else if (arg->length () > 1 &&
|
||||
(*arg)[0] == '-' &&
|
||||
validTag (*arg))
|
||||
noSpaces (*arg))
|
||||
{
|
||||
debug ("parse tag removal '" + *arg + "'");
|
||||
if (foundSequence)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue