break;
case TokenNameswitch:
case TokenNamefor:
+ case TokenNameforeach:
case TokenNameif:
case TokenNamewhile:
if (openParenthesisCount == openParenthesis.length) {
if (constructionsCount > 0) {
switch (constructions[constructionsCount - 1]) {
case TokenNamefor:
+ case TokenNameforeach:
//indentationLevel += popExclusiveUntilBlock();
//break;
case TokenNameswitch:
//return (currentToken == TokenNameCOMMA || currentToken ==
// TokenNameSEMICOLON);
return currentToken != TokenNameif && currentToken != TokenNameLPAREN && currentToken != TokenNameNOT
- && currentToken != TokenNamewhile && currentToken != TokenNamefor && currentToken != TokenNameswitch;
+ && currentToken != TokenNamewhile && currentToken != TokenNamefor && currentToken != TokenNameforeach
+ && currentToken != TokenNameswitch;
}
/**