added parser error info for syntax error, what was expected, and what was given