This makes the new parser code output correct errors. Also simplify error logging. Simplify a few things inside the parser interface. Add debug string to the `Token` and `Scope`. Pull Request: https://projects.blender.org/blender/blender/pulls/144708