This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Description
if I type
class test{
operator namespace::type() const{
return a+b;
}
};
then the bracket after the return statement is parsed as belonging to test{ and "return" is not highlighted
if I only have one token in the return statement, like this:
class test{
operator namespace::type() const{
return a;
}
};
then the close bracket is parsed correctly, but "return" is still not highlighted
Removing the namespace:
class test{
operator type() const{
return a+b;
}
};
fixes both issues
The incorrect parsing of this bracket causes the rest of the file to be incorrectly parsed as well.
This might be related to #260.