mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Handle other include formats
This commit is contained in:
@@ -46,7 +46,7 @@ for(my $lnum=0; $lnum<@$lref; $lnum++) {
|
||||
$line =~ s/#.*$//g; # Remove hash comment
|
||||
$line =~ s/\/\/.*$//g if ($line !~ /".*\/\/.*"/);
|
||||
$line =~ s/\/\*.*\*\///g; # Remove multi-line comment
|
||||
if ($line =~ /^\@include\s+"(.*)"/) {
|
||||
if ($line =~ /^\@include\s+"([^"]+)"/) {
|
||||
# Found an include .. replace with contents of the file(s)
|
||||
local $incs = $1;
|
||||
if ($incs !~ /^\//) {
|
||||
|
||||
Reference in New Issue
Block a user