Commit 4a27b937 authored by wurblzap%gmail.com's avatar wurblzap%gmail.com

Bug 313941: t/008filter.t should accept TRY/CATCH template directives

Patch by Dennis Melentyev <dennis.melentyev@infopulse.com.ua> r=wurblzap, a=justdave
parent d02ababf
......@@ -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 =~ /.+\?(.+):(.+)/) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment