aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexCPP.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2011-05-21 10:19:14 +1000
committernyamatongwe <unknown>2011-05-21 10:19:14 +1000
commitaebba786808ba97f1c476ebb537043ec7b6c1299 (patch)
tree652fe8b5e89d5825fd50c240fabfb62294413350 /lexers/LexCPP.cxx
parenteb18659ff594f0f76a1f29a9e3841860fdc3a678 (diff)
downloadscintilla-mirror-aebba786808ba97f1c476ebb537043ec7b6c1299.tar.gz
Code formatting normalised to standard.
Diffstat (limited to 'lexers/LexCPP.cxx')
-rw-r--r--lexers/LexCPP.cxx6
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;