Revision 9a18b6cc
Von Moritz Bunkus vor etwa 12 Jahren hinzugefügt
scripts/locales.pl | ||
---|---|---|
$cached{$file}{scannosubs}{"../../SL/${module}.pm"} = 1;
|
||
}
|
||
|
||
# Some calls to render() are split over multiple lines. Deal
|
||
# with that.
|
||
while (/(?:parse_html_template2?|render)\s*\( *$/) {
|
||
$_ .= <$fh>;
|
||
chomp;
|
||
}
|
||
|
||
# is this a template call?
|
||
if (/(?:parse_html_template2?|render)\s*\(\s*[\"\']([\w\/]+)\s*[\"\']/) {
|
||
my $new_file_base = "$basedir/templates/webpages/$1.";
|
Auch abrufbar als: Unified diff
locales.pl: Multi-Zeilen-Aufrufe von render() behandeln können
Machmal sieht das nämlich so aus: