parseMessages.addMessage(new ParseMessage(newItem.getLineNumber(), newItem.getStartPosition(), newItem.getEndPosition(), newItem.getItemData(),
"<cfelseif> after <cfelse>"));
addOkay = false;
}
else if((lastIsElseIf || lastIsElse) && !(itemIsElse || itemIsElseIf) ) // Is the previous item an else/elseif and the current item isn't one?
mostRecentItem.addChild(newItem);
else
addOkay = addOkay & super.addChild(newItem); // No elses if elseifs, so we add it to the if's children.
}
else
addOkay = addOkay & super.addChild(newItem);