mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Lexer: Fixed bug that caused 'name=value' to not be a Lexer::Type::pair
This commit is contained in:
parent
b573a0ddcc
commit
fd35190ab0
1 changed files with 3 additions and 2 deletions
|
@ -758,7 +758,8 @@ bool Lexer::isPair (std::string& token, Lexer::Type& type)
|
|||
}
|
||||
|
||||
if (_eos - _cursor >= 1 &&
|
||||
_text[_cursor] == ':')
|
||||
(_text[_cursor] == ':' ||
|
||||
_text[_cursor] == '='))
|
||||
{
|
||||
_cursor++;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue