Fortran 90 code with f77 style comments parsing problem
The following basic code make CMake think that two modules are declared: foo and bar. Only foo should be declared.
MODULE FOO
* foo ; module bar
END MODULE FOO
It seems that it is due to the combination of the f77 comment and the character ";" followed by the word "module" which causes trouble: if you replace "*" by "!", or insert non-blank characters between ";" and "module", the problem disappears.
Edited by Olivier Jamond