syntax errors can be recognized at compilation time.
a common syntax error is to omit a parenthesis.
Examples of syntax error
syntax error
In any case, LivingBot never made a delivery previously due to a syntax error that I fixed.
From the en.wikipedia.org
If you are using advanced syntax, you may receive a syntax error if your search is constructed incorrectly.
From the toledoblade.com
It's there when I examine an edit, but when I want to use it in the actual filter I get a syntax error.
From the en.wikipedia.org
The unexpected three bytes of the BOM break this however, as they are located where they are certain to be a syntax error.
From the en.wikipedia.org
Is that a syntax error ?
From the guardian.co.uk
However, with nested template declarations, there is a tendency for the programmer to neglect to place a space between the two right angle brackets, thus causing a compiler syntax error.
From the en.wikipedia.org
The sharp-eyed will catch one error in syntax and one in punctuation.
From the post-gazette.com
On the other hand, one of the goals of that example is to specifically show that perl syntax parsing can be difficult, so the syntax highlighting error might actually be illustrative of the problem.
From the en.wikipedia.org
Have you looked at a JavaScript error console to see whether there are any syntax errors?