Semantic does not recognize following as include:
#define FOO "inc.h"
int test(int arg);
"Summarize includes" reports:
"This file contains 1 tags, 0 of which are includes."
Eric M. Ludlam
#includes are handled via regexp, not a series of lexical tokens. The C lexer will need to be rebuilt to avoid the cheat in there right now.
Could it be possible to write a regexp to match "#include anything else" and
then do macro expansion for "anything else?. At least gnu cpp seems to work this way: http://gcc.gnu.org/onlinedocs/gcc-2.95.3/cpp_1.html#SEC6