Arduino Ultrasonic Sensor and LCD - Help Needed-
The root of your problem is this bit:

LiquidCrystal lcd(1, 2, 4, 5, 6, 7); // Creates an LCD object. Parameters: 
(rs, enable, d4, d5, d6, d7)


I think in copying-and-pasting you ended up with a line split across two giving you an error. It should read:

LiquidCrystal lcd(1, 2, 4, 5, 6, 7); // Creates an LCD object. Parameters: (rs, enable, d4, d5, d6, d7)


You have a similar problem here:

lcd.begin(16,2); // Initializes the interface to the LCD screen, and 
specifies the dimensions (width and height) of the display


Again that has split across two lines and should read:

lcd.begin(16,2); // Initializes the interface to the LCD screen, and specifies the dimensions (width and height) of the display


And a third:

lcd.setCursor(0,0); // Sets the location at which subsequent text written to 
the LCD will be displayed


which should be:

lcd.setCursor(0,0); // Sets the location at which subsequent text written to the LCD will be displayed


When those three are corrected the code compiles properly.