If you have a directive inside of an #if 0/#endif block, code after the directive is not ignored.
In particular, I saw this with a #include.
In the following example, the result from "ctags test.c" does not include functionThatIsIgnored (expected), but does include functionThatIsNotIgnored (unexpected).
I've attached a modified version of get.c (from version 5.8) where line 364 is changed so that the existing ignore value is maintained.
< boolean ignore = FALSE;
> boolean ignore = isIgnore();
Log in to post a comment.