diff options
Diffstat (limited to 'src/usr/diag/prdf/common/framework/rule/prdrpp')
-rwxr-xr-x | src/usr/diag/prdf/common/framework/rule/prdrpp | 6 |
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; } - } } |