New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ALIASES not working with Fortran source code (Origin: bugzilla #661672) #4428

Closed
doxygen opened this Issue Jul 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@doxygen
Owner

doxygen commented Jul 2, 2018

status RESOLVED severity major in component general for ---
Reported in version 1.7.5.1 on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2011-10-13 14:34:28 +0000, paulspencer@mindspring.com wrote:

The ALIASES configuration is working with C files, but not Fortran files. The following source files generate 2 entries when 3 are expected. "testf test of logical in fortran" from ftest.f is the missing entry.


  • Generated entries on the Related Page Logicals.html

Subprogram ftest
test3 3rd test
Member main (int argc, char *argv[])
test test logical


  • Output of doxygen command

Generating file documentation...
Generating docs for file ftest.f...
/home/paul/oxygen_test/ftest.f:4: warning: Found unknown command \logical' /home/paul/oxygen_test/ftest.f:4: warning: Found unknown command \logical'
Generating docs for file logicals.h...
Generating docs for file test.c...
Generating page documentation...


  • Doxyfile

ALIASES = "logical=\xrefitem logical "Logical" "Logical" "


  • ftest.f

C> @file

C> Test application
C> @logical testf test of logical in fortran
C> @xrefitem logical "Logical" "Logical" test3 3rd test
program ftest
print *, "Hello World"
end program


  • test.c

/**

/**

  • @brief Test
  • @param argc argument counter
  • @param argv[] Array of arguments
  • @logical test test logical
    */
    int main(int argc, char * argv[])
    {
    // @logical test
    // @ref MI_EXEC_DEV
    return 0;
    }

On 2011-10-30 15:09:20 +0000, albert wrote:

Created attachment 200278
Preprocessing tags in Fortran to resolve aliases

ALIASES weren't resolved in Fortran as this has to be done for each language separately. For C / C++ (and friends) and for tcl this was done but not for Fortran. This patch fixes this problem.

NOTE: I think this problem might also exist for other languages! and should be fixed there too.

On 2011-11-20 15:25:01 +0000, Dimitri van Heesch wrote:

Hi Albert,

I'll include your patch, but this is not a full solution, as @cond...@endcond blocks will still not work. For the longer term I want to split the commentcnv into a language specific part that finds the comment blocks and a language independent part that resolves aliases and @cond...@endcond blocks.

On 2011-12-03 18:22:42 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.6. 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.

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment