diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2013-11-06 16:48:53 +0000 | 
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2013-11-06 16:48:53 +0000 | 
| commit | f21a844f60ae6c74fcf1fddca32461acce3c1ee0 (patch) | |
| tree | 56d79f94966870db1cecd65a7264510a25fd1cba /source/Core/SourceManager.cpp | |
| parent | 37d22554be9f5a677dad2a95b7ef22fe59c66a8a (diff) | |
Notes
Diffstat (limited to 'source/Core/SourceManager.cpp')
| -rw-r--r-- | source/Core/SourceManager.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Core/SourceManager.cpp b/source/Core/SourceManager.cpp index 9f289348fd91..940034625c0a 100644 --- a/source/Core/SourceManager.cpp +++ b/source/Core/SourceManager.cpp @@ -567,15 +567,15 @@ SourceManager::File::CalculateLineOffsets (uint32_t line)                  // Push a 1 at index zero to indicate the file has been completely indexed.                  m_offsets.push_back(UINT32_MAX); -                register const char *s; +                const char *s;                  for (s = start; s < end; ++s)                  { -                    register char curr_ch = *s; +                    char curr_ch = *s;                      if (is_newline_char (curr_ch))                      {                          if (s + 1 < end)                          { -                            register char next_ch = s[1]; +                            char next_ch = s[1];                              if (is_newline_char (next_ch))                              {                                  if (curr_ch != next_ch)  | 
