diff options
-rw-r--r-- | t/008filter.t | 3 |
1 files changed, 2 insertions, 1 deletions
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 =~ /.+\?(.+):(.+)/) { |