sublime-cpp11 icon indicating copy to clipboard operation
sublime-cpp11 copied to clipboard

Invalid highlighting

Open mvoidex opened this issue 8 years ago • 0 comments

void something(bool test)
{
    if (test)
    {
        some.push_back(Bar(
            std::tr1::make_shared<Quux>(
                Arg()));
    }
    for (auto v : SysVars)
        add(v);
}
void Foo::Foo() {}

Here std::tr1::make_shared<Quux> highlighted as function name But Foo::Foo is not highlighted at all

If I remove if statement of for statement, then Foo::Foo will be highlighted properly.

Workaround: move std::tr1::make_shared on same line as push_back

mvoidex avatar Aug 25 '16 11:08 mvoidex