What type of error is detected when a pascal program is compiled?

syntax error