Commit 4f03a8be authored by Roberto Raggi's avatar Roberto Raggi

Don't skip closing braces and Qt function specifiers.

parent f71f837a
......@@ -270,6 +270,9 @@ void Parser::skipUntilDeclaration()
switch (LA()) {
case T_EOF_SYMBOL:
// end of a block
case T_RBRACE:
// names
case T_IDENTIFIER:
case T_COLON_COLON:
......@@ -288,6 +291,13 @@ void Parser::skipUntilDeclaration()
case T_Q_SIGNALS:
case T_Q_SLOTS:
case T_Q_PROPERTY:
case T_Q_ENUMS:
case T_Q_FLAGS:
// Qt function specifiers
case T_Q_SIGNAL:
case T_Q_SLOT:
case T_Q_INVOKABLE:
// declarations
case T_ENUM:
......
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