A character or string incorrectly placed in a command or instruction that causes a failure in execution.
- ‘If there is an exception (because of a syntax error, etc.) in the program, the exception will be traced back and reported.’
- ‘For example, when you make a typo or syntax error that the compiler catches, fixing it is basically trivial.’
- ‘I assume that there is a subtle syntax error or variable mismatch, but my debugger doesn't provide enough info to diagnose such problems without a lot of trial and error.’
- ‘Then the parser, purveyor of the dreaded syntax error, looks at the stream of tokens to verify its syntactic correctness.’
- ‘The system either gives me a syntax error or some file is missing.’
We take a look at several popular, though confusing, punctuation marks.