Syntax Error

Return to Glossary

A Syntax Error is an error that occurs when a compiler or interpreter cannot understand the [dido:public:ra:xapend:xapend.a_glossary:s:sourcecode]] statement using the published Syntax for that Source Code in order to generate machine code. Syntax Errors and “Semantic Errors” are not the same. The Syntax Error is an incorrect construction of the Source Code, whereas a “Semantic Error” is erroneous logic that produces the wrong result when executed. See syntax, parse and semantic error.

Source: https://www.pcmag.com/encyclopedia/term/syntax-error