forked from veripool/verilog-mode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Teach AUTOs to process escaped backslashes at the end of quoted strin…
…gs (veripool#1831) "...\\..." is a string containing a backslash: \ "...\"..." is a string containing a double-quote: " When parsing double-quoted strings, we must detect embedded escaped backslashes and double-quotes. Detecting when a string terminates with one or more of these characters is tricky. Strings terminating in "...\"" are not uncommon, and have reasonably robust support, but strings terminating in "...\\" are quite rare, and were quite broken. This patch aims to improve the detection of "...\\" (or "...\\\\", or any even number of backslashes in a row immediately preceding a double-quote string terminator.
- Loading branch information
Showing
1 changed file
with
40 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters