diff options
author | albert-github <albert.tests@gmail.com> | 2021-04-23 13:45:44 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2021-04-23 13:45:44 (GMT) |
commit | 453ecff58b2b2b447743af8890392060b5922dfc (patch) | |
tree | 6cecef9134a1a6d5b5fdead91df04e518da286eb | |
parent | 83eada424c3c78d69b7fb844c280334dbf54a5ab (diff) | |
download | Doxygen-453ecff58b2b2b447743af8890392060b5922dfc.zip Doxygen-453ecff58b2b2b447743af8890392060b5922dfc.tar.gz Doxygen-453ecff58b2b2b447743af8890392060b5922dfc.tar.bz2 |
Problem with Fortran, giving a warning about invalid state
Fortran gives a warning like
```
Error in file .../mic_lib.f90 line: 15, state: 4(SubprogBody)
```
This happens after the upade:
```
Commit: 592aaa4f17d73ec8c475df0f44efaea8cc4d575c [592aaa4]
Date: Sunday, April 11, 2021 9:22:59 PM
Commit Date: Thursday, April 22, 2021 7:34:13 PM
Refactoring: remove implicit conversion from QCString to const char *
```
Looks like an initialization that was previously done automatic doesn't happen anymore.
(Problem found by Fossies in openmpi, gcc, fimex).
-rwxr-xr-x | src/fortranscanner.l | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fortranscanner.l b/src/fortranscanner.l index f36b6ae..328612a 100755 --- a/src/fortranscanner.l +++ b/src/fortranscanner.l @@ -378,6 +378,7 @@ SCOPENAME ({ID}{BS}"::"{BS})* if (YY_START != Prepass) { yyextra->comments.clear(); + yyextra->inputStringPrepass=QCString(); yy_push_state(Prepass,yyscanner); } |