Commit 3c17f53

mokha <mokha@cisco.com>
2019-05-13 19:13:22
add parens
1 parent 33b4195
Changed files (1)
lib
scim
lib/scim/kit/v2/filter.rb
@@ -26,7 +26,7 @@ module Scim
 
         # attrExp = (attrPath SP "pr") / (attrPath SP compareOp SP compValue)
         rule(:attribute_expression) do
-          attribute_path >> space >> presence | attribute_path >> space >> comparison_operator >> space >> comparison_value
+          (attribute_path >> space >> presence) | attribute_path >> space >> comparison_operator >> space >> comparison_value
         end
 
         # logExp = FILTER SP ("and" / "or") SP FILTER