diff options
author | Neil <nyamatongwe@gmail.com> | 2015-05-29 11:28:25 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2015-05-29 11:28:25 +1000 |
commit | de235a2c2089372a81c655ed153af441d6cae2f5 (patch) | |
tree | 417fe26413ed55f0f7f7238481368367938265c1 /lexers/LexVerilog.cxx | |
parent | ea7ba091dfc1b74a6dc5c864011be9ff028217bd (diff) | |
download | scintilla-mirror-de235a2c2089372a81c655ed153af441d6cae2f5.tar.gz |
Fix warning from Visual C++.
Diffstat (limited to 'lexers/LexVerilog.cxx')
-rw-r--r-- | lexers/LexVerilog.cxx | 2 |
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) { |