From 9e155fc74496a092460b8a659429387fc4742437 Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Thu, 29 Jul 2004 02:35:04 +0000 Subject: [PATCH] Fix c2man for the case where function parameters are on more than one line. --- tools/c2man.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/c2man.pl b/tools/c2man.pl index 836c82f3ea0..5744958df39 100755 --- a/tools/c2man.pl +++ b/tools/c2man.pl @@ -443,7 +443,7 @@ sub process_source_file elsif ($parse_state == 2) # Finished reading in a comment { if ( /(WINAPIV|WINAPI|__cdecl|PASCAL|CALLBACK|FARPROC16)/ || - /.*?\(.*?\)/ ) + /.*?\(/ ) { # Comment is followed by a function definition $parse_state = 4; # Fall through to read prototype