diff options
Diffstat (limited to 'lexers/LexRust.cxx')
| -rw-r--r-- | lexers/LexRust.cxx | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexRust.cxx b/lexers/LexRust.cxx index 0d1106849..d0e499533 100644 --- a/lexers/LexRust.cxx +++ b/lexers/LexRust.cxx @@ -351,7 +351,7 @@ static bool IsValidCharacterEscape(int c) {  }  static bool IsValidStringEscape(int c) { -	return IsValidCharacterEscape(c) || c == '\n'; +	return IsValidCharacterEscape(c) || c == '\n' || c == '\r';  }  static bool ScanNumericEscape(Accessor &styler, int& pos, int num_digits, bool stop_asap) {  | 
