- adjust message names
- merge ParseError and SyntaxError into one function
- add error code as member of SyntaxError exception