Move parser error to grammar check phase.

Conflicts:
	src/services/syntax/SyntaxGenerator.js.map
Unfold this into multiple lines