forked from qt-creator/qt-creator
Recover from unfinished do-while loops.
This commit is contained in:
@@ -594,6 +594,7 @@ AST *Parser::parse(int startToken)
|
|||||||
T_SEMICOLON, T_COMMA, T_COLON,
|
T_SEMICOLON, T_COMMA, T_COLON,
|
||||||
T_NUMBER, T_TYPE_NAME, T_IDENTIFIER,
|
T_NUMBER, T_TYPE_NAME, T_IDENTIFIER,
|
||||||
T_LEFT_BRACE, T_LEFT_PAREN, T_LEFT_BRACKET,
|
T_LEFT_BRACE, T_LEFT_PAREN, T_LEFT_BRACKET,
|
||||||
|
T_WHILE,
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user