From 6929c10acf769f448eb155e5610e7acf3b67a20e Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Thu, 17 Jan 2013 23:45:18 +0100 Subject: [PATCH] Add case-statement for OR, which still needs to be implemented. --- rules/ast/ast.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rules/ast/ast.go b/rules/ast/ast.go index 746d626fc..21162ef02 100644 --- a/rules/ast/ast.go +++ b/rules/ast/ast.go @@ -450,6 +450,8 @@ func evalVectorBinop(opType BinOpType, } case AND: return lhs, true + case OR: + return lhs, true // TODO: implement OR } panic("Not all enum values enumerated in switch") }