GNOME Bugzilla – Bug 654866
Fortran function types with spaces result in error
Last modified: 2012-11-18 11:10:50 UTC
In case the return type of a function has brackets and a space between this bracket this leads to an error message. The following example code: MODULE mod_aa CONTAINS FUNCTION StrUpCase ( Input_string ) RESULT ( Output_String ) CHARACTER ( * ) :: Input_String CHARACTER ( LEN( Input_String ) ) :: Output_String END FUNCTION StrUpCase END MODULE mod_aa leads to the following message: Searching for member function documentation... D:/aa.f90:-1: warning: documented function `mod_aa::CHARACTER' was not declared or defined. We get similar messages in case we use eg. type (typ )
Created attachment 192212 [details] [review] Patch for Fortran funcions with brackets and spaces in type This patch skips in case of Fortran some checking for function pointers. It also has a comparison made cases insensitive (fortranscanner.l)
Thanks, I'll include the patch in the next subversion update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.7.5. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant.
No error message is produced anymore and results are OK.