aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSiegeLord <slabode@aim.com>2013-12-21 11:24:11 -0500
committerSiegeLord <slabode@aim.com>2013-12-21 11:24:11 -0500
commit53fdd8747dbeb62d471033b119666a6ef0a46b4c (patch)
tree881f68cd7120808c63489f972ed094c0e4631525
parent3feafde0de295fa5a9e156aa7231df203b31b40d (diff)
downloadscintilla-mirror-53fdd8747dbeb62d471033b119666a6ef0a46b4c.tar.gz
Fix whitespace in LexRust.cxx
-rw-r--r--lexers/LexRust.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/lexers/LexRust.cxx b/lexers/LexRust.cxx
index d86b659a5..3a6c8fff3 100644
--- a/lexers/LexRust.cxx
+++ b/lexers/LexRust.cxx
@@ -262,16 +262,16 @@ static void ScanNumber(Accessor& styler, int& pos) {
int n = styler.SafeGetCharAt(pos + 1, '\0');
bool error = false;
if (c == '0' && n == 'x') {
- pos += 2;
- base = 16;
- } else if (c == '0' && n == 'b') {
- pos += 2;
- base = 2;
- }
- int old_pos = pos;
- ScanDigits(styler, pos, base);
- c = styler.SafeGetCharAt(pos, '\0');
- if (c == 'u' || c == 'i') {
+ pos += 2;
+ base = 16;
+ } else if (c == '0' && n == 'b') {
+ pos += 2;
+ base = 2;
+ }
+ int old_pos = pos;
+ ScanDigits(styler, pos, base);
+ c = styler.SafeGetCharAt(pos, '\0');
+ if (c == 'u' || c == 'i') {
pos++;
c = styler.SafeGetCharAt(pos, '\0');
n = styler.SafeGetCharAt(pos + 1, '\0');