LXR 0.9.1 [as well as older versions] shows definition
also in the list of references.
eg consider a file test.c
#define TEST 1
Searching for "TEST" will show that it is
1. a macro defined at line 1, file test.c and
2. referenced in test.c at line 1
If the number of definitions is small, this is OK. But
when the number of definitions is large, finding which
of the references are actually references becomes a
The easiest solution for this would be to remove all
definitions from the references list.
If this is acceptable, I have a patch ready [the
backend is MySQL]
Log in to post a comment.