aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2012-02-23 07:47:26 +1100
committernyamatongwe <unknown>2012-02-23 07:47:26 +1100
commite820e6b25cf5e213c15078b695972492a9e009a1 (patch)
treee668e2a6c04c9f222c3a33d22ddf740fba3faaf6
parentd3ed2f664bc2e4db1eab7cd62c664cf43672a89c (diff)
downloadscintilla-mirror-e820e6b25cf5e213c15078b695972492a9e009a1.tar.gz
Fix warning from PVS-Studio that could have trated non-operators as operators for folding.
-rw-r--r--lexers/LexTADS3.cxx2
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) {