forked from qt-creator/qt-creator
Stop at class or elaborated class specifiers when recovering declarations.
This commit is contained in:
@@ -140,6 +140,10 @@ bool Parser::skipUntilDeclaration()
|
||||
case T_PUBLIC:
|
||||
case T_PROTECTED:
|
||||
case T_PRIVATE:
|
||||
case T_CLASS:
|
||||
case T_STRUCT:
|
||||
case T_UNION:
|
||||
case T_TYPENAME:
|
||||
return true;
|
||||
|
||||
default:
|
||||
|
Reference in New Issue
Block a user