Bug 130254 - Template params don't have to exist, since they may be

subject to interpolation. Ignore names with $ in them as a workaround r=myk x 2
parent 0930c074
......@@ -39,6 +39,9 @@ foreach my $file (@files) {
foreach my $line (@lines) {
if ($line =~ m/template->process\(\"(.+?)\", .+?\)/) {
$template = $1;
# Ignore templates with $ in the name, since they're
# probably vars, not real files
next if $template =~ m/\$/;
push (@testitems, $template) unless $t{$template};
$t{$template} = 1;
}
......
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