diff --git a/src/Lexer.cpp b/src/Lexer.cpp index 0b2c19ce4..2fceb04a4 100644 --- a/src/Lexer.cpp +++ b/src/Lexer.cpp @@ -757,8 +757,9 @@ bool Lexer::isPair (std::string& token, Lexer::Type& type) } } - if (_eos - _cursor >= 1 && - _text[_cursor] == ':') + if (_eos - _cursor >= 1 && + (_text[_cursor] == ':' || + _text[_cursor] == '=')) { _cursor++;