Expected primary expression before '.' token, I fail to see the mistake

#define trigPin 13
#define echoPin 12
#define led 11
#define led2 10

int Pr = 0; // will be used for analog 0.
int PrValue = 0; // value of output
int Pr_Input =600; // value of when light is on
float tempC; // create variable to store the temperature in.
int tempPin = 2; // Attach vout to analog pin 2.
int fan1 = 4; // attach base of transistor to digital pin 4.

void setup() {
Serial.begin (9600);
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);
pinMode(led, OUTPUT);
pinMode(led2, OUTPUT); // pin 7 as output
pinMode(7, OUTPUT);
pinMode (fan1, OUTPUT); // sets the fan1 pin 3 up as an output.

void loop() {
PrValue = analogRead(Pr);
Serial.println(PrValue); //prints photoresistor value

if (PrValue < Pr_Input) // if sensor value is less than 600, light will turn on.
digitalWrite(7, HIGH);
} //LED on
digitalWrite(7, LOW);
} // LED off

long duration, distance;
digitalWrite(trigPin, LOW);
digitalWrite(trigPin, HIGH);
digitalWrite(trigPin, LOW);

duration = pulseIn(echoPin, HIGH);
distance = (duration/2) / 29.1;
if (distance < 60) // This is where the LED On/Off happens
digitalWrite(led,HIGH); // When the Red condition is met, the Green LED should turn off
if (distance >= 200 || distance <= 0)
Serial.println(“Out of range”);
Serial.println(" cm");
tempC = analogRead(tempPin); // read the analog value from the lm35 sensor.
tempC = (5 * tempC * 100)/1024; // convert the analog input to temperature in centigrade.
Serial.print((byte)tempC); // send the data to the computer.

if (tempC > 30) // creates bool expression for analyzation. if it evaluates to true,
{ // the body of the if statement will execute.
digitalWrite (fan1, HIGH); // turns on fan1.
else // if the if equation evaluates to false the else statement will execute.
digitalWrite (fan1, LOW); // turns off fan1.
delay(100); .

   delay(100);                      .

Right there

Holy crap, had to look three times even after pointing it out. How the heck did you managed that :p

But that shows it's useful to post the full error message (because it will point exactly to char) and post both error and code in code-tags please. See How to use the forum for that.

had to look three times even after pointing it out. How the heck did you managed that :p

I found the problem by Auto Formatting the code in the IDE and that lonely little full stop was then on a line of its own.