It's also possible to PROCESS another attachment fragment, not just INCLUDE.

No review needed for tests at this time. NOT PART OF BUILD.


git-svn-id: svn://10.0.0.236/trunk@104924 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jake%acutex.net 2001-10-09 19:14:59 +00:00
parent e8297e7cfa
commit 5a2be9a074

View File

@ -50,7 +50,7 @@ foreach my $file(@testitems) {
my @lines = <FILE>;
close (FILE);
foreach my $line (@lines) {
if ($line =~ m/\[% INCLUDE (.+?) /) {
if ($line =~ m/\[% (?:INCLUDE|PROCESS) (.+?) /) {
my $template = $1;
push (@testitems, $template) unless $t{$template};
$t{$template} = 1;