[Lxr-commits] CVS: lxr/lib/LXR/Lang Generic.pm,1.23,1.24
Brought to you by:
ajlittoz
From: AdrianIssott <adr...@us...> - 2009-04-25 20:40:37
|
Update of /cvsroot/lxr/lxr/lib/LXR/Lang In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv5694/lib/LXR/Lang Modified Files: Generic.pm Log Message: Feature 1691378 (Rearchitect the DB backends) Part IV: * Renamed LXR::Index subroutines to be more understandable Index: Generic.pm =================================================================== RCS file: /cvsroot/lxr/lxr/lib/LXR/Lang/Generic.pm,v retrieving revision 1.23 retrieving revision 1.24 diff -u -d -r1.23 -r1.24 --- Generic.pm 19 Apr 2009 16:52:40 -0000 1.23 +++ Generic.pm 25 Apr 2009 20:40:24 -0000 1.24 @@ -72,7 +72,7 @@ foreach my $lang (keys %$langmap) { my $typemap = $langmap->{$lang}{'typemap'}; foreach my $type (keys %$typemap) { - $typemap->{$type} = $index->getdecid($langmap->{$lang}{'langid'}, $typemap->{$type}); + $typemap->{$type} = $index->decid($langmap->{$lang}{'langid'}, $typemap->{$type}); } } @@ -124,7 +124,7 @@ $ext = undef; } - $index->index($sym, $fileid, $line, $self->langid, $type, $ext); + $index->setsymdeclaration($sym, $fileid, $line, $self->langid, $type, $ext); } close(CTAGS); @@ -231,7 +231,7 @@ { # print "adding $string to references\n"; - $index->reference($string, $fileid, $linenum); + $index->setsymreference($string, $fileid, $linenum); } } |