boolean (PsiBuilder builder, PsiBuilder.Marker marker, String funcName) { //builder.error("Invalid left marker encountered in " + funcName_ +" at offset " + builder.getCurrentOffset()); boolean goodMarker = marker != null; // && ((LighterASTNode)marker).getTokenType() != TokenType.ERROR_ELEMENT; if (!goodMarker) return false; ErrorState state = ErrorState.get(builder); return state.currentFrame != null; }