mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug
- Segfault when 'project:android' is split into 'and' and 'roid' (thanks to Richard Boß).
This commit is contained in:
parent
af75fa8b05
commit
32566c9844
3 changed files with 5 additions and 2 deletions
|
@ -742,8 +742,8 @@ bool Lexer::is_ident (int c) const
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool Lexer::is_triple_op (int c0, int c1, int c2) const
|
||||
{
|
||||
return (c0 == 'a' && c1 == 'n' && c2 == 'd') ||
|
||||
(c0 == 'x' && c1 == 'o' && c2 == 'r') ||
|
||||
return (c0 == 'a' && c1 == 'n' && c2 == 'd' && _boundary23) ||
|
||||
(c0 == 'x' && c1 == 'o' && c2 == 'r' && _boundary23) ||
|
||||
(c0 == '!' && c1 == '=' && c2 == '=');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue