From 948f0a4a090e1caed33d52065654a48e508c4883 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 23 Feb 2012 07:47:26 +1100 Subject: Fix warning from PVS-Studio that could have trated non-operators as operators for folding. --- lexers/LexTADS3.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3