Maik Beckmann wrote:
I still didn't test whether fixed format file can include a free format file, or vise versa. In this case having distinct lexers(and parsers?) is the only reliable approach.
I just tried these cases and gcc chokes on both cases: ! main-free.f90 include 'fixed.f' ! main-fixed.f include 'free.f' In either case gcc assumes the included file is the same format as the includer and errors out if the file is really of the other format. -Brad _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake