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

Fortran: attributes after a blank line are ignored (Origin: bugzilla #742452) #5711

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 unspecified on platform Other
Assigned to: Dimitri van Heesch

On 2015-01-06 12:54:45 +0000, naught101 wrote:

In the following code, the type attribute "dheat" and all of the attributes that follow it are ignored, due to the blank/comment-only line that separates them from the block that includes the REAL statement. It can be quite useful to have blocks of attributes separated into logical blocks just for code reading, so this bug can get quite annoying (either I can't separate blocks into logical chunks, or I have to litter the code with extraneous variable declaration statements).

module data_module 
   implicit none
   
   public 

   !> definition of major types of constants
    
   TYPE physical_constants
      REAL ::                                                                  & 
      capp   = 1004.64, &  !< air spec. heat (J/kg/K)
      hlf    = 0.334e6, &  !< latent heat of fusion
      ! Some comment
      dheat  = 21.5E-6, &  !< molecular diffusivity for heat
      ...

On 2015-01-06 13:48:17 +0000, albert wrote:

This is a similar situation as with bug_625602, the handling of empty lines and comment lines in case of continuation lines. bug_625602 is addressing fixed formatted code, and this is free formatted code. Solution will be similar.

On 2016-08-27 16:12:39 +0000, albert wrote:

I've just pushed a proposed patch to github (pull request 508)

On 2016-08-28 16:12:39 +0000, albert wrote:

Code has been integrated in the master branch on github.

On 2016-09-05 13:45:15 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.12. 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 (preferably in the form of a self-contained example).

@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