aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexVerilog.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2015-05-29 11:28:25 +1000
committerNeil <nyamatongwe@gmail.com>2015-05-29 11:28:25 +1000
commit0c413f41a1c9885ee0d338609b0ccfc3252e42b1 (patch)
treea33ec85d136d6f9e782be5fb852f26b3325ec0a9 /lexers/LexVerilog.cxx
parent080acd0eacb15a76a6fc252f5e168db8499441dc (diff)
downloadscintilla-mirror-0c413f41a1c9885ee0d338609b0ccfc3252e42b1.tar.gz
Fix warning from Visual C++.
Diffstat (limited to 'lexers/LexVerilog.cxx')
-rw-r--r--lexers/LexVerilog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexVerilog.cxx b/lexers/LexVerilog.cxx
index f21b19de2..55dfa06c7 100644
--- a/lexers/LexVerilog.cxx
+++ b/lexers/LexVerilog.cxx
@@ -445,7 +445,7 @@ void SCI_METHOD LexerVerilog::Lex(unsigned int startPos, int length, int initSty
int activitySet = preproc.IsInactive() ? activeFlag : 0;
int lineEndNext = styler.LineEnd(curLine);
bool isEscapedId = false; // true when parsing an escaped Identifier
- bool isProtected = lineState&kwProtected; // true when parsing a protected region
+ bool isProtected = (lineState&kwProtected) != 0; // true when parsing a protected region
for (; sc.More(); sc.Forward()) {
if (sc.atLineStart) {