error in code

I got this error

In file included from mnogo_ledova.ino:2:0:
mnogo_ledova.ino: In function 'void setup()':
/Volumes/Moja dimenzija/poli wants a cracker/Arduino-2.app/Contents/Resources/Java/hardware/arduino/avr/cores/arduino/Arduino.h:44:16: error: expected unqualified-id before numeric constant
 #define OUTPUT 0x1
                ^
mnogo_ledova.ino:9:21: note: in expansion of macro 'OUTPUT'

And this is a code

 int pinsTotal = 8;
 int pins[]={2,3,4,5,6,7,8,9};

void setup ()

{
  for (int i = 0; i<pinsTotal; i=i+1){
   pinMode(pins[i]. OUTPUT);
  }
}

void loop ()

{
  for (int i = 0; i<pinsTotal; i=i+1){
    digitalWrite(pins[i], HIGH);
    delay(1000);
    digitalWrite(pins[i], LOW);
  }
  for (int i=pinsTotal-1; i>0; i=i-1){
    digitalWrite(pins[i], HIGH);
    delay(1000);
    digitalWrite(pins[i], LOW);
  }
}
pinMode(pins[i]. OUTPUT);

try

pinMode(pins[i], OUTPUT);

Tnx :)

I control the code few times, but but . , ; : always something :)

It gets better with practice.