aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexAU3.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2009-01-01 01:36:37 +0000
committernyamatongwe <devnull@localhost>2009-01-01 01:36:37 +0000
commit2f6cb0e25c35daf753a07b661482b4be81a6222c (patch)
treee3ce4c3d8bc377d3c94132e26c9a7cae538e6132 /src/LexAU3.cxx
parent59ffc74390ea57ec1090d70b947c430867860c41 (diff)
downloadscintilla-mirror-2f6cb0e25c35daf753a07b661482b4be81a6222c.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