A syntax error refers to an error in a statement's syntax. This term is used mostly in association with programming languages. In compiled programming languages, a syntax error is a fatal error that the programmer must correct before being able to fully compile the program.

See also: