mike-lischke / vscode-antlr4

ANTLR4 language support for Visual Studio Code
http://www.soft-gems.net
MIT License
414 stars 58 forks source link

Ignore Byte Order Mark in Grammars #269

Open jordi-z80 opened 1 month ago

jordi-z80 commented 1 month ago

I can get syntax highlighting without major problems until for some reason, VSCode puts a BOM at the start of the file.

After that, I just get this error:

image

mike-lischke commented 1 month ago

Grammars are parsed as they are, no special processing is done before that. Dealing with a BOM is a new feature.