Skip to content

Commit

Permalink
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,10 @@ protected void doVisitToken(DetailAST detailAST) {
}

List<DetailAST> childDetailASTList = getAllChildTokens(
nextSiblingDetailAST, true, TokenTypes.DEC, TokenTypes.INC,
nextSiblingDetailAST, true, TokenTypes.DEC, TokenTypes.DO_WHILE,
TokenTypes.INC, TokenTypes.LITERAL_FOR,
TokenTypes.LITERAL_RETURN, TokenTypes.POST_DEC,
TokenTypes.POST_INC);
TokenTypes.LITERAL_WHILE, TokenTypes.POST_INC);

if (ListUtil.isNotEmpty(childDetailASTList)) {
continue;
Expand Down

0 comments on commit a08197b

Please sign in to comment.