GNOME Bugzilla – Bug 643219
Fortran: parsing semicolon
Last modified: 2011-10-30 19:39:37 UTC
When a statement contains a semicolon (;) as separator between statements the second statement is not handled properly. This is especially noticeable in case the statement is the end program statement. Doxygen emits an error. Example: program main call abort();end program main Preprocessing C:/Users/user/AppData/Local/Temp/tst/semicolon_bug.f90... Parsing file C:/Users/user/AppData/Local/Temp/tst/semicolon_bug.f90... ******************************************************************** Error in file C:/Users/user/AppData/Local/Temp/tst/semicolon_bug.f90 line: 4, state: 10 ******************************************************************** This bug is related to bug 521854 wheer a similar problem was found and fixed for variables.
Created attachment 181867 [details] [review] Patch for fortran semicolon problem This patch detects a semicolon and ignores it in case it is in a string or in comment or otherwise it will start processing similar to the case that a new line was started.
Thanks Albert, I'll include this 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 anymore