doxygen error state 21 with fortran code -


i searching web , didn't find any. thats why thought might idea document problem here.

i had following problem while documenting old (15-20 years) fortran-code doxygen. have file same filename subroutine in it. , of these files gave me error:

******************************************************************** error in file filename line: xx, state: 21 ******************************************************************** 

i didn't figure out, error state 21 is. after digging code did find problem. have write-command like

       write(*,'('' text ''  +     '' more text : '',i6,  +     /'' , more text ! '')')  +     variable 

the problem here exclamation mark (!) in code line. doxygen seems interpret end of line after exclamation mark doxygen syntax , not fortran code. changed line into

       write(*,'('' text ''  +     '' more text : '',i6,  +     /'' , more text ! ''  +     )')variable 

and works fine!


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -