[Lxr-commits] CVS: lxr/lib/LXR/Lang Generic.pm,1.6,1.7
Brought to you by:
ajlittoz
|
From: Malcolm B. <mb...@us...> - 2001-11-17 04:00:57
|
Update of /cvsroot/lxr/lxr/lib/LXR/Lang In directory usw-pr-cvs1:/tmp/cvs-serv29481 Modified Files: Generic.pm Log Message: Fix bug with referencing files due to omitting a parameter to SimpleParse::init Index: Generic.pm =================================================================== RCS file: /cvsroot/lxr/lxr/lib/LXR/Lang/Generic.pm,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- Generic.pm 2001/11/14 15:03:29 1.6 +++ Generic.pm 2001/11/17 04:00:55 1.7 @@ -133,7 +133,8 @@ my ($self, $name, $path, $fileid, $index, $config) = @_; require LXR::SimpleParse; - &LXR::SimpleParse::init(new FileHandle($path), $self->parsespec); + # Use dummy tabwidth here since it doesn't matter for referencing + &LXR::SimpleParse::init(new FileHandle($path), 1, $self->parsespec); my $linenum = 1; my ($btype, $frag) = &LXR::SimpleParse::nextfrag; |