From 4a27b93739abd5b76a5836156b420c3c078beb8b Mon Sep 17 00:00:00 2001 From: "wurblzap%gmail.com" <> Date: Fri, 28 Oct 2005 17:19:43 +0000 Subject: Bug 313941: t/008filter.t should accept TRY/CATCH template directives Patch by Dennis Melentyev r=wurblzap, a=justdave --- t/008filter.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/008filter.t b/t/008filter.t index 61b3dc2b6..84ab3b2c7 100644 --- a/t/008filter.t +++ b/t/008filter.t @@ -172,7 +172,8 @@ sub directive_ok { # Directives return 1 if $directive =~ /^(IF|END|UNLESS|FOREACH|PROCESS|INCLUDE| BLOCK|USE|ELSE|NEXT|LAST|DEFAULT|FLUSH| - ELSIF|SET|SWITCH|CASE|WHILE)/x; + ELSIF|SET|SWITCH|CASE|WHILE|RETURN|STOP| + TRY|CATCH|FINAL|THROW|CLEAR)/x; # ? : if ($directive =~ /.+\?(.+):(.+)/) { -- cgit v1.2.3-24-g4f1b