aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexAU3.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2009-01-01 01:36:37 +0000
committernyamatongwe <unknown>2009-01-01 01:36:37 +0000
commitd6571fa63db365bced55161c5d2e370b0097b4f8 (patch)
treee3ce4c3d8bc377d3c94132e26c9a7cae538e6132 /src/LexAU3.cxx
parente53adf622fb4422ff03342ece7e5a25ed4860071 (diff)
downloadscintilla-mirror-d6571fa63db365bced55161c5d2e370b0097b4f8.tar.gz
Updates to avoid warnings from GCC 4.3. Should not change behaviour.
Diffstat (limited to 'src/LexAU3.cxx')
-rw-r--r--src/LexAU3.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/LexAU3.cxx b/src/LexAU3.cxx
index cedf261f5..cfff9279d 100644
--- a/src/LexAU3.cxx
+++ b/src/LexAU3.cxx
@@ -253,11 +253,12 @@ static void ColouriseAU3Doc(unsigned int startPos,
//Reset at line end
if (sc.atLineEnd) {
ci=0;
- if ((strcmp(s, "#ce")== 0 || strcmp(s, "#comments-end")== 0))
+ if (strcmp(s, "#ce")== 0 || strcmp(s, "#comments-end")== 0) {
if (sc.atLineEnd)
sc.SetState(SCE_AU3_DEFAULT);
else
sc.SetState(SCE_AU3_COMMENTBLOCK);
+ }
break;
}
//skip rest of line when a ; is encountered