wierd 302 error help needed

i just copy and pasted my old code into the new arduino software new i get a 302 error stack coede can somebody pleace help me??

int sensorPin = A1;    // select the input pin for the potentiometer
int ledPin0 = 12;      // select the pin for the LED
int sensorValue = 0;  // variable to store the value coming from the sensor
int ledPin = 8;      // LED connected to digital pin 9
int ledPin1 = 10;
int ledPin2 = 9;
int ledPin5 = 3;
int ledPin6 = 11;
int ledPin7 = 2;

int val = 0;         // variable to store the read value


void setup() {
  // declare the ledPin as an OUTPUT:
    Serial.begin(9600);
  pinMode(ledPin0, OUTPUT);
    pinMode(ledPin, OUTPUT);// sets the pin as output
 
  pinMode(ledPin1, OUTPUT);// sets the pin as output
 
  pinMode(ledPin2, OUTPUT);// sets the pin as output
    pinMode(ledPin6, OUTPUT);// sets the pin as output
       pinMode(ledPin7, OUTPUT);// sets the pin as output

TCCR2B = TCCR2B & 0b11111000 | 0x01;


}

void loop() {

for (int i2=0; i2 <= 2271; i2++){ 
 
  // read the value from the sensor:
 // sensorValue = analogRead(sensorPin);
 // Serial.println(sensorValue);
 //   if (sensorValue > 266){
 // digitalWrite(ledPin0, HIGH);
  // stop the program for <sensorValue> milliseconds:
 // delay(245);
  // turn the ledPin off:
//  digitalWrite(ledPin0, LOW);
  // stop the program for for <sensorValue> milliseconds:
analogWrite(ledPin6, 255); 
analogWrite(ledPin7, 255);

for (int i=0; i <= 327; i++){
  // analogWrite(ledPin, 255); 
  // delayMicroseconds(1);

  
   //analogWrite(ledPin, 0); 
   // delayMicroseconds(1);


analogWrite(ledPin1, 255); 
  delayMicroseconds(11);

 
analogWrite(ledPin1, 0); 
 delayMicroseconds(55);

 //analogWrite(ledPin2, 255); 
 // delayMicroseconds(2);
 // analogWrit5(ledPin2, 0); 
 // delayMicroseconds(1);
}
}
analogWrite(ledPin6, 0); 
    delayMicroseconds(0);
 digitalWrite(ledPin0, 1);
  // stop the program for <sensorValue> milliseconds:
 delay(0);
  // turn the ledPin off:
 digitalWrite(ledPin0, 0);
      delayMicroseconds(0);
  // stop the program for for <sensorValue> milliseconds:
analogWrite(ledPin6, 1);  
}

(deleted)