André Hentschel : c2man: Better detect that the file is in use.
Module: wine Branch: master Commit: 38fcf687c2c70f19bbaf2edf6aa3527823bf3896 URL: http://source.winehq.org/git/wine.git/?a=commit;h=38fcf687c2c70f19bbaf2edf6a... Author: André Hentschel <nerv(a)dawncrow.de> Date: Mon Jun 6 22:23:16 2011 +0200 c2man: Better detect that the file is in use. --- tools/c2man.pl | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/c2man.pl b/tools/c2man.pl index bc25683..8030bc4 100755 --- a/tools/c2man.pl +++ b/tools/c2man.pl @@ -419,6 +419,9 @@ sub process_source_file($) 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}},$_); # Strip comments from the line before checking for ')' my $stripped_line = $_; @@ -681,9 +684,6 @@ sub process_comment($) $spec_details->{NUM_DOCS}++; @$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 my @parameter_comments; for (@{$comment->{PROTOTYPE}})
participants (1)
-
Alexandre Julliard