mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-31 05:47:18 +02:00
Parser
- Updated comments.
This commit is contained in:
parent
fa22cff5be
commit
b34fd64a9c
1 changed files with 4 additions and 0 deletions
|
@ -101,6 +101,9 @@ void Parser::initialize (int argc, const char** argv)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// TODO This seems silly - it's essentially performing a low-quality parse.
|
// TODO This seems silly - it's essentially performing a low-quality parse.
|
||||||
|
// But that is really all that is needed - to separate the args that
|
||||||
|
// need to be lexed from those that need to be left alone.
|
||||||
|
// Rule: if it looks like 'attribute:...' then lex, else ignore.
|
||||||
|
|
||||||
// Do not lex RC overrides.
|
// Do not lex RC overrides.
|
||||||
if (raw.length () > 3 &&
|
if (raw.length () > 3 &&
|
||||||
|
@ -122,6 +125,7 @@ void Parser::initialize (int argc, const char** argv)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// If the argument contains a space, it was quoted. Record that fact.
|
// If the argument contains a space, it was quoted. Record that fact.
|
||||||
|
// TODO This is currently ignored. Should it be?
|
||||||
if (! noSpaces (raw))
|
if (! noSpaces (raw))
|
||||||
branch->tag ("QUOTED");
|
branch->tag ("QUOTED");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue