diff options
author | Neil <nyamatongwe@gmail.com> | 2015-11-20 11:05:28 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2015-11-20 11:05:28 +1100 |
commit | 124307f221172d8c0638307f8ea227a842b45b1f (patch) | |
tree | 40ef82f0d3ee0f65de8839c5649c2938d0f92a07 /lexers/LexRust.cxx | |
parent | 28c1e186b953ae0c8fe7681c7d7ae8950efb266f (diff) | |
download | scintilla-mirror-124307f221172d8c0638307f8ea227a842b45b1f.tar.gz |
Remove line end whitespace.
Diffstat (limited to 'lexers/LexRust.cxx')
-rw-r--r-- | lexers/LexRust.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lexers/LexRust.cxx b/lexers/LexRust.cxx index f98296bb3..ca5f3c7f1 100644 --- a/lexers/LexRust.cxx +++ b/lexers/LexRust.cxx @@ -287,7 +287,7 @@ static void ScanNumber(Accessor& styler, Sci_Position& pos) { } else if (!error) { /* If there's a period, it's a floating point literal unless it's * followed by an identifier (meaning this is a method call, e.g. - * `1.foo()`) or another period, in which case it's a range (e.g. 1..2) + * `1.foo()`) or another period, in which case it's a range (e.g. 1..2) */ n = styler.SafeGetCharAt(pos + 1, '\0'); if (c == '.' && !(IsIdentifierStart(n) || n == '.')) { @@ -308,7 +308,7 @@ static void ScanNumber(Accessor& styler, Sci_Position& pos) { /* It is invalid to have no digits in the exponent. */ error |= !ScanDigits(styler, pos, 10); } - + /* Scan the floating point suffix. */ c = styler.SafeGetCharAt(pos, '\0'); if (c == 'f') { @@ -620,7 +620,7 @@ static void ResumeRawString(Accessor &styler, Sci_Position& pos, Sci_Position ma } else if (pos >= max) { break; } else { - if (ascii_only && !IsASCII((char)c)) + if (ascii_only && !IsASCII((char)c)) break; pos++; } |