diff options
author | nyamatongwe <devnull@localhost> | 2011-05-21 10:19:14 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2011-05-21 10:19:14 +1000 |
commit | 0865a5956ebacc1e816366330a4b311065ec068d (patch) | |
tree | 0bb6da58109e866caee2627d3986f7769d6949b4 /lexers/LexCPP.cxx | |
parent | 9ed1465a78cc69038d8a5655e6e1dba9c4258e5b (diff) | |
download | scintilla-mirror-0865a5956ebacc1e816366330a4b311065ec068d.tar.gz |
Code formatting normalised to standard.
Diffstat (limited to 'lexers/LexCPP.cxx')
-rw-r--r-- | lexers/LexCPP.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lexers/LexCPP.cxx b/lexers/LexCPP.cxx index 65525a679..22477c32f 100644 --- a/lexers/LexCPP.cxx +++ b/lexers/LexCPP.cxx @@ -435,7 +435,7 @@ int SCI_METHOD LexerCPP::WordListSet(int n, const char *wl) { struct After { int line; After(int line_) : line(line_) {} - bool operator() (PPDefinition &p) const { + bool operator()(PPDefinition &p) const { return p.line > line; } }; @@ -741,7 +741,7 @@ void SCI_METHOD LexerCPP::Lex(unsigned int startPos, int length, int initStyle, } break; case SCE_C_TRIPLEVERBATIM: - if (sc.Match ("\"\"\"")) { + if (sc.Match("\"\"\"")) { while (sc.Match('"')) { sc.Forward(); } @@ -805,7 +805,7 @@ void SCI_METHOD LexerCPP::Lex(unsigned int startPos, int length, int initStyle, if (sc.chPrev == 'R') { sc.SetState(SCE_C_STRINGRAW|activitySet); rawStringTerminator = ")"; - for (int termPos = sc.currentPos + 1;;termPos++) { + for (int termPos = sc.currentPos + 1;; termPos++) { char chTerminator = styler.SafeGetCharAt(termPos, '('); if (chTerminator == '(') break; |