Fix parse errors
Add line/char ranges and fix errors

Tokens and AST nodes now have startLine/endLine and startChar/endChar properties.