diff options
author | Olivier Maridat <olivier.maridat@trialog.com> | 2015-11-26 15:33:44 +0100 |
---|---|---|
committer | Olivier Maridat <olivier.maridat@trialog.com> | 2015-11-26 15:33:44 +0100 |
commit | f837e70a2d74eb37c4c5de7e4f54c8bf8ec78db7 (patch) | |
tree | c146511e70537f7224835931ef1d3b0b2f516d3e /app/Core | |
parent | e582d4047b061f0c17e6366fed2bf1cabd624c10 (diff) |
Add filter by task link
Diffstat (limited to 'app/Core')
-rw-r--r-- | app/Core/Lexer.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Core/Lexer.php b/app/Core/Lexer.php index ca2ef895..df2d90ae 100644 --- a/app/Core/Lexer.php +++ b/app/Core/Lexer.php @@ -39,6 +39,7 @@ class Lexer "/^(swimlane:)/" => 'T_SWIMLANE', "/^(ref:)/" => 'T_REFERENCE', "/^(reference:)/" => 'T_REFERENCE', + "/^(link:)/" => 'T_LINK', "/^(\s+)/" => 'T_WHITESPACE', '/^([<=>]{0,2}[0-9]{4}-[0-9]{2}-[0-9]{2})/' => 'T_DATE', '/^(yesterday|tomorrow|today)/' => 'T_DATE', @@ -118,6 +119,7 @@ class Lexer case 'T_COLUMN': case 'T_PROJECT': case 'T_SWIMLANE': + case 'T_LINK': $next = next($tokens); if ($next !== false && $next['token'] === 'T_STRING') { |