[CMake] 1 tricky question, 1 bug report

Maik Beckmann beckmann.maik at googlemail.com
Mon Mar 16 09:46:33 EDT 2009


Brad King schrieb am Montag 16 März 2009 um 14:24:
> Maik Beckmann wrote:
> > The _third_ option is to make the lexer format agnostic and handle
> > formats at the parser code.  This should work well, since we just have to
> > make sure that the valid MODULE und USE statements are catched.  Remeber,
> > so far the free format code processes fixed format code proper most of
> > time.
>
> What happens if a 'C' appears at the beginning of a non-comment line in
> free format?  If it appears on a module line then the build might break
> because ordering among source files may be broken.


If lines like Something like
{{{
call Foo()
c = 1.0
}}}
are ignored, it doesn't hurt.  This is only a problem if a line starts with 
"c" and contains a relevant MODULE or USE statement.  Is this possible?

-- Maik


More information about the CMake mailing list