aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexRust.cxx
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
commitf5140067b48216e964db25d9c4b8dd0ce0ffeccd (patch)
treebf813f966f8a4fd05880ccbcc69c13a08a957ccb /lexers/LexRust.cxx
parentc6a0e3b827eb85e9c66b3db5019ed3b796f3ed5a (diff)
downloadscintilla-mirror-f5140067b48216e964db25d9c4b8dd0ce0ffeccd.tar.gz
Fix whitespace in LexRust.cxx
Diffstat (limited to 'lexers/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');