aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexVerilog.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/LexVerilog.cxx
parente53adf622fb4422ff03342ece7e5a25ed4860071 (diff)
downloadscintilla-mirror-d6571fa63db365bced55161c5d2e370b0097b4f8.tar.gz
Updates to avoid warnings from GCC 4.3. Should not change behaviour.
Diffstat (limited to 'src/LexVerilog.cxx')
-rw-r--r--src/LexVerilog.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/LexVerilog.cxx b/src/LexVerilog.cxx
index 52183fe8e..3fd0fc35c 100644
--- a/src/LexVerilog.cxx
+++ b/src/LexVerilog.cxx
@@ -248,7 +248,7 @@ static void FoldNoBoxVerilogDoc(unsigned int startPos, int length, int initStyle
styler.Match(j, "generate") ||
styler.Match(j, "specify") ||
styler.Match(j, "primitive") ||
- styler.Match(j, "module") && foldAtModule ||
+ (styler.Match(j, "module") && foldAtModule) ||
styler.Match(j, "begin")) {
levelNext++;
} else if (styler.Match(j, "endcase") ||
@@ -259,8 +259,8 @@ static void FoldNoBoxVerilogDoc(unsigned int startPos, int length, int initStyle
styler.Match(j, "endtable") ||
styler.Match(j, "endspecify") ||
styler.Match(j, "endprimitive") ||
- styler.Match(j, "endmodule") && foldAtModule ||
- styler.Match(j, "end") && !IsAWordChar(styler.SafeGetCharAt(j+3))) {
+ (styler.Match(j, "endmodule") && foldAtModule) ||
+ (styler.Match(j, "end") && !IsAWordChar(styler.SafeGetCharAt(j+3)))) {
levelNext--;
}
}