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
Post a Comment