aboutsummaryrefslogtreecommitdiffstats
path: root/lib/LXRng/Index/Generic.pm
diff options
context:
space:
mode:
authorArne Georg Gleditsch <argggh@lxr.linpro.no>2007-12-04 08:46:20 +0100
committerArne Georg Gleditsch <argggh@lxr.linpro.no>2007-12-04 08:46:20 +0100
commit738dd43449b86da6f61ad10ee7f2f0cea6f505f5 (patch)
tree65cb6a1b366132965eacc62fc172b33cda6ec948 /lib/LXRng/Index/Generic.pm
parent66d7d426aef422521ee4ee6953fb888aac9813da (diff)
parent15f50e9ba5f64594ac610ad42ac75e484147f8a2 (diff)
Merge branch 'master' of /home/argggh/git/lxrng/
Diffstat (limited to 'lib/LXRng/Index/Generic.pm')
-rw-r--r--lib/LXRng/Index/Generic.pm11
1 files changed, 2 insertions, 9 deletions
diff --git a/lib/LXRng/Index/Generic.pm b/lib/LXRng/Index/Generic.pm
index c756b5f..dfeb754 100644
--- a/lib/LXRng/Index/Generic.pm
+++ b/lib/LXRng/Index/Generic.pm
@@ -102,11 +102,6 @@ sub includes_by_file {
return $self->_includes_by_id($file_id);
}
-#sub add_symbol {
-# my ($self, $file_id, $line, $symbol, $type, $ctx_id) = @_;
-# return $self->_add_symbol($file_id, $line, $symbol, $type, $ctx_id);
-#}
-
sub add_ident {
my ($self, $rfile_id, $line, $symbol, $type, $ctx_id) = @_;
@@ -121,14 +116,12 @@ sub symbol_by_id {
return $self->_symbol_by_id($id);
}
-sub symbols_by_name {
+sub identifiers_by_name {
my ($self, $tree, $release, $symbol) = @_;
my $rel_id = $self->release_id($tree, $release);
-# return $cache_sym{$rel_id}{$symbol} if
-# exists $cache_sym{$rel_id} and exists $cache_sym{$rel_id}{$symbol};
+
return $self->_identifiers_by_name($rel_id, $symbol);
-# $cache_sym{$rel_id}{$symbol} = $id;
}
sub symbols_by_file {