Brad King schrieb am Freitag 13 März 2009 um 16:51:
> Actually, I cannot tell from a quick glance at the code how it ignores
> 'USE' keywords that appear after a ';' separator. It does not ignore
> 'MODULE' after ';'. Maik?
If a piece of code is identifed by the _lexer_ as being a comment, it is just
ignored. ';' isn't considered at all.
My impression is, that the code which identifies comment lines for fixed
format is buggy.
I'm unter time pressure at work right now, but I get into the debugger ASAP.
For those who can't wait, Brad :P, these are the lines in the lexer code
responsible for comments. The second one is for fixed format files
{{{
!.*\n { return EOSTMT; } /* Treat comments like */
<fixed_fmt>^[cC*dD].*\n { return EOSTMT; } /* empty lines */
}}}
c u soon,
-- Maik
_______________________________________________
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