diff options
author | nyamatongwe <unknown> | 2012-02-23 07:47:26 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2012-02-23 07:47:26 +1100 |
commit | e820e6b25cf5e213c15078b695972492a9e009a1 (patch) | |
tree | e668e2a6c04c9f222c3a33d22ddf740fba3faaf6 | |
parent | d3ed2f664bc2e4db1eab7cd62c664cf43672a89c (diff) | |
download | scintilla-mirror-e820e6b25cf5e213c15078b695972492a9e009a1.tar.gz |
Fix warning from PVS-Studio that could have trated non-operators as operators for folding.
-rw-r--r-- | lexers/LexTADS3.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexTADS3.cxx b/lexers/LexTADS3.cxx index a18054452..54cb88ad6 100644 --- a/lexers/LexTADS3.cxx +++ b/lexers/LexTADS3.cxx @@ -697,7 +697,7 @@ static inline bool IsAnIdentifier(const int style) { } static inline bool IsAnOperator(const int style) { - return style == SCE_T3_OPERATOR || SCE_T3_BRACE; + return style == SCE_T3_OPERATOR || style == SCE_T3_BRACE; } static inline bool IsSpaceEquivalent(const int ch, const int style) { |