handle &&, from Jaideep Padhye
This commit is contained in:
		| @@ -148,6 +148,9 @@ sub parse_if | |||||||
|     } elsif (m/^([^&]+)\&\&(.*)$/) { |     } elsif (m/^([^&]+)\&\&(.*)$/) { | ||||||
| 	print "$1 and $2\n" if ($debug); | 	print "$1 and $2\n" if ($debug); | ||||||
| 	return parse_if($1) and parse_if($2); | 	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/^([^\|]+)\|\|(.*)$/) { |     } elsif (m/^([^\|]+)\|\|(.*)$/) { | ||||||
| 	print "$1 or $2\n" if ($debug); | 	print "$1 or $2\n" if ($debug); | ||||||
| 	return parse_if($1) or parse_if($2); | 	return parse_if($1) or parse_if($2); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Love Hörnquist Åstrand
					Love Hörnquist Åstrand