Commit 38fcf687 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

c2man: Better detect that the file is in use.

parent 66693a6e
...@@ -419,6 +419,9 @@ sub process_source_file($) ...@@ -419,6 +419,9 @@ sub process_source_file($)
if ($parse_state == 4) # Reading in the function definition if ($parse_state == 4) # Reading in the function definition
{ {
# This file is used by the DLL - Make sure we get our contributors right
push (@{$spec_files{$comment->{DLL_NAME}}[0]->{SOURCES}},$comment->{FILE});
push (@{$comment->{PROTOTYPE}},$_); push (@{$comment->{PROTOTYPE}},$_);
# Strip comments from the line before checking for ')' # Strip comments from the line before checking for ')'
my $stripped_line = $_; my $stripped_line = $_;
...@@ -681,9 +684,6 @@ sub process_comment($) ...@@ -681,9 +684,6 @@ sub process_comment($)
$spec_details->{NUM_DOCS}++; $spec_details->{NUM_DOCS}++;
@$export[$EXPORT_FLAGS] |= $FLAG_DOCUMENTED; @$export[$EXPORT_FLAGS] |= $FLAG_DOCUMENTED;
# This file is used by the DLL - Make sure we get our contributors right
push (@{$spec_details->{SOURCES}},$comment->{FILE});
# If we have parameter comments in the prototype, extract them # If we have parameter comments in the prototype, extract them
my @parameter_comments; my @parameter_comments;
for (@{$comment->{PROTOTYPE}}) for (@{$comment->{PROTOTYPE}})
......
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