mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
DOM: New references: tw.syncneeded, tw.program, tw.args, tw.width, tw.height
- And deprecating context.program, context.args, context.width, context.height
This commit is contained in:
parent
6641ca13a1
commit
3a69609ffd
4 changed files with 87 additions and 10 deletions
|
@ -1132,10 +1132,15 @@ bool Lexer::isOperator (std::string& token, Lexer::Type& type)
|
|||
// rc.<name>
|
||||
//
|
||||
// System:
|
||||
// context.program
|
||||
// context.args
|
||||
// context.width
|
||||
// context.height
|
||||
// tw.syncneeded
|
||||
// tw.program
|
||||
// tw.args
|
||||
// tw.width
|
||||
// tw.height
|
||||
// context.program // 2017-02-25 Deprecated in 2.6.0
|
||||
// context.args // 2017-02-25 Deprecated in 2.6.0
|
||||
// context.width // 2017-02-25 Deprecated in 2.6.0
|
||||
// context.height // 2017-02-25 Deprecated in 2.6.0
|
||||
// system.version
|
||||
// system.os
|
||||
//
|
||||
|
@ -1179,7 +1184,12 @@ bool Lexer::isDOM (std::string& token, Lexer::Type& type)
|
|||
else
|
||||
_cursor = marker;
|
||||
|
||||
if (isOneOf ({"context.program",
|
||||
if (isOneOf ({"tw.syncneeded",
|
||||
"tw.program",
|
||||
"tw.args",
|
||||
"tw.width",
|
||||
"tw.height",
|
||||
"context.program",
|
||||
"context.args",
|
||||
"context.width",
|
||||
"context.height",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue