The error location output is incorrect for files with windows-style line breaks. (\r\n)
Example file: test.zip
This file produces error output of:
Parse error on line 4, column 3:
} } "bar":
---------------------^
Unexpected token }
Expected output: The output should include the referenced bracket ("}") and the arrow should point to it like this:
Parse error on line 4, column 3:
...": { "bar": }}
-------------------^
Unexpected token }