show the line contains a syntax error and add an error indicator