]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 313941: t/008filter.t should accept TRY/CATCH template directives
authorwurblzap%gmail.com <>
Fri, 28 Oct 2005 17:19:43 +0000 (17:19 +0000)
committerwurblzap%gmail.com <>
Fri, 28 Oct 2005 17:19:43 +0000 (17:19 +0000)
Patch by Dennis Melentyev <dennis.melentyev@infopulse.com.ua>
r=wurblzap, a=justdave

t/008filter.t

index 61b3dc2b6360c887b8a743ebf88d12bcc0b006dd..84ab3b2c7c4356acc1731ae47f5e42aa99506308 100644 (file)
@@ -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 =~ /.+\?(.+):(.+)/) {