diff options
author | nyamatongwe <devnull@localhost> | 2012-02-23 07:47:26 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2012-02-23 07:47:26 +1100 |
commit | 948f0a4a090e1caed33d52065654a48e508c4883 (patch) | |
tree | 35ade376c9127ae358a80985224ed144645012a6 | |
parent | d49dc4d02154986b626846b4656b07aab8a118e8 (diff) | |
download | scintilla-mirror-948f0a4a090e1caed33d52065654a48e508c4883.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) { |