Detect syntax errors as well an jump to the corresponding line.
Merge pull request #249 from wrobel/master

Detect syntax errors as well.