```
milovidov-desktop :) SELECT -1::INT

Syntax error: failed at position 10 ('::')
```
{
                union_modes.push_back(ASTSelectWithUnionQuery::Mode::DISTINCT);
            }
            
            else
            {
                union_modes.push_back(ASTSelectWithUnionQuery::Mode::Unspecified);
            }
            return true;
        }
        else if (s_except_parser.check(pos, expected))
        {
            union_modes.push_back(ASTSelectWithUnionQuery::Mode::EXCEPT);
            return true;
        }
        else if (s_intersect_parser.check(pos, expected))
        {
            union_modes.push_back(ASTSelectWithUnionQuery::Mode::INTERSECT);
            return true;
        }
        return false;
    };
    if (!parseUtil(pos, parse_element, parse_separator))
        return false;
    auto list = std::make_shared<ASTExpressionList>();
    list->children = std::move(elements);
    node = list;
    return true;
}
static bool parseOperator(IParser::Pos & pos, const char * op, Expected & expected)