Commit 7e7c9446 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Stop at class or elaborated class specifiers when recovering declarations.

parent 2f649be1
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment