diff options
author | nyamatongwe <devnull@localhost> | 2009-01-01 01:36:37 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2009-01-01 01:36:37 +0000 |
commit | 2f6cb0e25c35daf753a07b661482b4be81a6222c (patch) | |
tree | e3ce4c3d8bc377d3c94132e26c9a7cae538e6132 /src/LexVerilog.cxx | |
parent | 59ffc74390ea57ec1090d70b947c430867860c41 (diff) | |
download | scintilla-mirror-2f6cb0e25c35daf753a07b661482b4be81a6222c.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.cxx | 6 |
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--; } } |