summaryrefslogtreecommitdiffstats
path: root/libksieve/parser
diff options
context:
space:
mode:
Diffstat (limited to 'libksieve/parser')
-rw-r--r--libksieve/parser/parser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libksieve/parser/parser.cpp b/libksieve/parser/parser.cpp
index e823ac3f0..c04599754 100644
--- a/libksieve/parser/parser.cpp
+++ b/libksieve/parser/parser.cpp
@@ -129,9 +129,9 @@ namespace KSieve {
bool Parser::Impl::isArgumentToken() const {
return isStringToken() ||
- token() == Lexer::Number ||
- token() == Lexer::Tag ||
- token() == Lexer::Special && mTokenValue == "[" ;
+ (token() == Lexer::Number) ||
+ (token() == Lexer::Tag) ||
+ ((token() == Lexer::Special) && (mTokenValue == "[")) ;
}
bool Parser::Impl::obtainToken() {