Open Gama11 opened 8 years ago
This should be fixed in hxparse, because if I remove the BOM from content before sending it to Lexer, all positions are off by three. And that would likely affect a lot of checks.
So the solution for now is to remove the BOM from your files.
Makes sense. And yeah, that's what I did. :)
Ping @Simn.
I don't think hxparse is the right place to fix this, haxeparser is more appropriate.
If checkstyle is run on a file with a byte order mark (for example this file), it causes the following error:
Checkstyle version: 191bf0c245