error message driving me crazy

HI all…I’m just in the beginning stages of trying to have a gesture sensor control the power to my t.v., stereo, computer, using IR.
This is the first trial. I’ve got the IR working for TV and stereo, so I am now trying to have it controlled using a button. So if the button is high, the program sends the IR signal. I continue to get the following error:
exit status 1
expected primary-expression before ‘==’ token

this is my code…I’ve looked online, looked in books, I can’t seem to figure out where I’ve gone wrong…the error is highlighted in my if statement right after the void loop.
If anyone can shed some light, I would be eternally grateful!!!

#include <IRremote.h>

IRsend irsend;
unsigned int raw1[68]={4450,4500,500,1700,500,1750,500,1700,500,650,500,600,450,650,500,600,500,600,500,1750,500,1700,500,1750,500,600,450,650,500,600,500,650,450,650,450,650,500,1750,450,650,500,600,450,650,500,600,500,650,450,650,450,1750,500,600,500,1750,450,1750,500,1750,450,1750,500,1750,450,1750,500,};
unsigned int raw2[32]={2300,650,1100,700,500,650,1100,700,500,650,1100,650,550,650,550,600,550,700,500,650,500,650,550,650,1100,650,550,650,1150,600,550,};

const int button=7;
int buttonState=0;

void setup(){

pinMode(button, INPUT);

}

void loop() {
  buttonState = digitalRead(button); 
if (buttonState == HIGH) {                                                                                ==HIGH){
	for (int i = 0; i < 3; i++) {
	irsend.sendRaw(raw2,32,38);
    delay(40);
    //digitalWrite(led, HIGH);
	}
  irsend.sendRaw(raw1,68,38);
   
	delay(10000); //5 second delay between each signal burst
 //digitalWrite(led, LOW);

delay(10);
buttonState=LOW;
}
}

Press ctrl+T in the IDE to format it properly. Can you spot the errors now?

The actual error messages:

/Users/john/Documents/Arduino/sketch_jul09a/sketch_jul09a.ino: In function 'void loop()':
sketch_jul09a:20: error: expected primary-expression before '==' token
     == HIGH) {
     ^
sketch_jul09a:34: error: expected '}' at end of input
   }
   ^
Multiple libraries were found for "IRremote.h"
 Used: /Users/john/Documents/Arduino/libraries/IRremote
 Not used: /Applications/Arduino1.8.2.app/Contents/Java/libraries/RobotIRremote
Using library IRremote at version 2.0.1 in folder: /Users/john/Documents/Arduino/libraries/IRremote 
exit status 1
expected primary-expression before '==' token

The first message points to line 20:

17 void loop() {
18   buttonState = digitalRead(button);
19   if (buttonState == HIGH) {
20     == HIGH) {
21      for (int i = 0; i < 3; i++) {

Now do you see the problem?

Wow....I certainly see the problem, but it wasn't in my code until I pushed CTRL + T....what does that do? Why didn't that extra line show up in my original code I was looking at?
Thank you for that!!!

bigsammy:
Wow....I certainly see the problem, but it wasn't in my code until I pushed CTRL + T....what does that do? Why didn't that extra line show up in my original code I was looking at?
Thank you for that!!!

It's in your code... but way off to the right, outside the window. Scroll to the right to see it.