Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix rust syntax file to recognize byte strings and c strings. (#3452)
In rust, there are some prefixes that may be part of the string literal. String literals of the form b"test" (and br##"test"## etc) are byte strings (as opposed to unicode strings), and similarly, string literals of the form c"test" are C zero-terminated strings. Hence, added optional prefixes to each of the string regular expressions so the prefix will be recognized as part of the string. Built and tested after fix. Co-authored-by: James Corey <[email protected]>
- Loading branch information