From 376181632b2ec14d018ab0cd121cba938207e66e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 13 Nov 2011 11:02:06 -0800 Subject: [PATCH] handle &&, from Jaideep Padhye --- cf/roken-h-process.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cf/roken-h-process.pl b/cf/roken-h-process.pl index a54c9216d..153a35ce8 100644 --- a/cf/roken-h-process.pl +++ b/cf/roken-h-process.pl @@ -148,6 +148,9 @@ sub parse_if } elsif (m/^([^&]+)\&\&(.*)$/) { print "$1 and $2\n" if ($debug); return parse_if($1) and parse_if($2); + } elsif (m/^\(([^&]+)\&\&(.*)$/) { + print "$1 and $2\n" if ($debug); + return parse_if($1) and parse_if($2); } elsif (m/^([^\|]+)\|\|(.*)$/) { print "$1 or $2\n" if ($debug); return parse_if($1) or parse_if($2);