Juan Sanchez wrote:
It turns out that any word of the word Use or use as a word anywhere in
a comment causes the dependency scanner to use the next token on the
line as a module dependency.

So I changed all the code to use xUse and xuse.
The problem is well known, and much talked about.
The solution is to fix the fortran parser:
from makefdep90 that is used in CMake.

http://www.cmake.org/pipermail/cmake/2006-September/011072.html

A lex/yacc guru would be best to help out here.   Basically we want
the fortran parser to ignore all comment lines.  I gave it a try a while
ago, but did not get it to work.  I suppose a hack solution would be to
pre-process the files and remove the comments before the parser sees
it.   If someone does either of those, I would be happy to put it into CVS
CMake.

-Bill

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to