dan-c-underwood / vscode-arm

Arm® Syntax highlighting for VSCode
MIT License
41 stars 19 forks source link

String literals incorrectly handle \" and other escapes #33

Open ian-h-chamberlain opened 2 years ago

ian-h-chamberlain commented 2 years ago

String literals containing \" break highlighting for the remainder of the file, or until a "matching" \" is found.

Example:

Screen Shot 2022-05-28 at 8 38 05 AM

I think this can be resolved easily by adding support for some common escape sequences – I will open a PR with my proposed fix shortly.