You can see that you are missing a closing brace corresponding to the opening brace under the line void loop()
If you remove the opening brace under the line val = digitalRead(pushPin); and then re-adjust all the indenting then the opening and closing braces {} will all match up.
Also the line if(val == HIGH); is an empty if statement, i.e. if the condition is true then there is no specific code to execute. All the code between the {} is executed regardless of whether the condition is true.
If you change that line to if(val == HIGH), i.e. remove the semi-colon, then all the code between the braces {} becomes part of the if statement and is executed only if the condition is true.
And you have done the same thing with this line of code: for (pos = 0; pos <= 90; pos += 1);
This is an empty for loop - remove the semi colon.