mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Cleanup: Formatting code
This commit is contained in:
parent
fda8161be8
commit
f9b5513882
1 changed files with 2 additions and 5 deletions
|
@ -1075,7 +1075,7 @@ void CLI2::desugarFilterAttributes ()
|
||||||
if (a._lextype == Lexer::Type::pair &&
|
if (a._lextype == Lexer::Type::pair &&
|
||||||
a.hasTag ("FILTER"))
|
a.hasTag ("FILTER"))
|
||||||
{
|
{
|
||||||
std::string raw = a.attribute ("raw");
|
std::string raw = a.attribute ("raw");
|
||||||
std::string name = a.attribute ("name");
|
std::string name = a.attribute ("name");
|
||||||
std::string mod = a.attribute ("modifier");
|
std::string mod = a.attribute ("modifier");
|
||||||
std::string sep = a.attribute ("separator");
|
std::string sep = a.attribute ("separator");
|
||||||
|
@ -1125,11 +1125,8 @@ void CLI2::desugarFilterAttributes ()
|
||||||
// duration --> yes
|
// duration --> yes
|
||||||
bool evalSupported = true;
|
bool evalSupported = true;
|
||||||
Column* col = context.columns[canonical];
|
Column* col = context.columns[canonical];
|
||||||
if (col &&
|
if (col && col->type () == "string")
|
||||||
col->type () == "string")
|
|
||||||
{
|
|
||||||
evalSupported = false;
|
evalSupported = false;
|
||||||
}
|
|
||||||
|
|
||||||
A2 lhs (name, Lexer::Type::dom);
|
A2 lhs (name, Lexer::Type::dom);
|
||||||
lhs.tag ("FILTER");
|
lhs.tag ("FILTER");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue