diff options
| author | Arne Georg Gleditsch <argggh@lxr.linpro.no> | 2007-11-27 01:10:58 +0100 | 
|---|---|---|
| committer | Arne Georg Gleditsch <argggh@lxr.linpro.no> | 2007-11-27 01:10:58 +0100 | 
| commit | 77f76725888920d10b527db5f291d704f0f5b26d (patch) | |
| tree | 1c0e1874bcdc90352548f5125cbdb96643aa5002 /cgi-bin | |
| parent | 5c682b22600bbd08888af07f93422c1cd733609d (diff) | |
Rework usage stats.
Diffstat (limited to 'cgi-bin')
| -rwxr-xr-x | cgi-bin/lxr | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/cgi-bin/lxr b/cgi-bin/lxr index 28d6635..375b640 100755 --- a/cgi-bin/lxr +++ b/cgi-bin/lxr @@ -331,8 +331,9 @@ sub search {  					  'idents' => \@cooked};  	}  	if ($type eq 'ident') { +	    my $usage  = $context->config->{'usage'};  	    my ($symname, $symid, $ident, $refs) = -		$index->get_identifier_info($find, $rel_id); +		$index->get_identifier_info($usage, $find, $rel_id);  	    $$ident[1] = $LXRng::Lang::deftypes{$$ident[1]};  	    $$ident[5] &&= $LXRng::Lang::deftypes{$$ident[5]}; | 
