mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 13:37:20 +02:00
Lexer: ::isLiteral now stops at EOS
This commit is contained in:
parent
f2fe397048
commit
99a53edca0
2 changed files with 4 additions and 3 deletions
|
@ -1271,6 +1271,7 @@ bool Lexer::isLiteral (
|
|||
|
||||
// End boundary conditions must be met.
|
||||
if (endBoundary &&
|
||||
_text[_cursor + common] &&
|
||||
! Lexer::isWhitespace (_text[_cursor + common]) &&
|
||||
! Lexer::isSingleCharOperator (_text[_cursor + common]))
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue