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: parsing semicolon (Origin: bugzilla #643219) #4174

doxygen opened this Issue Jul 2, 2018 · 0 comments


None yet
1 participant

doxygen commented Jul 2, 2018

status VERIFIED severity normal in component general for ---
Reported in version 1.7.3-SVN on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2011-02-24 19:31:21 +0000, albert wrote:

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.

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.

On 2011-02-24 20:05:57 +0000, albert wrote:

Created attachment 181867
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.

On 2011-05-15 09:58:07 +0000, Dimitri van Heesch wrote:

Thanks Albert,

I'll include this patch in the next subversion update.

On 2011-08-14 14:04:55 +0000, Dimitri van Heesch wrote:

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.

On 2011-10-30 19:39:37 +0000, albert wrote:

No error anymore

@doxygen doxygen closed this Jul 19, 2018

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