summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/common/framework/rule/prdrpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/diag/prdf/common/framework/rule/prdrpp')
-rwxr-xr-xsrc/usr/diag/prdf/common/framework/rule/prdrpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/usr/diag/prdf/common/framework/rule/prdrpp b/src/usr/diag/prdf/common/framework/rule/prdrpp
index 058e5f4b5..fab66e381 100755
--- a/src/usr/diag/prdf/common/framework/rule/prdrpp
+++ b/src/usr/diag/prdf/common/framework/rule/prdrpp
@@ -50,11 +50,15 @@ sub read_file
open_file($include);
print ".end_included\n";
}
+ elsif ( $line =~ m{/\*[^\*].*\*/} )
+ {
+ # Skip C-style (/* */) comments. This is needed to avoid prologs
+ # added to the extra signature .H files.
+ }
else
{
print $line;
}
-
}
}
OpenPOWER on IntegriCloud