mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-27 00:57:19 +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
|
@ -757,8 +757,9 @@ bool Lexer::isPair (std::string& token, Lexer::Type& type)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_eos - _cursor >= 1 &&
|
if (_eos - _cursor >= 1 &&
|
||||||
_text[_cursor] == ':')
|
(_text[_cursor] == ':' ||
|
||||||
|
_text[_cursor] == '='))
|
||||||
{
|
{
|
||||||
_cursor++;
|
_cursor++;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue