[Lxr-commits] CVS: lxr/lib/LXR/Lang Generic.pm,1.11,1.12
Brought to you by:
ajlittoz
|
From: Malcolm B. <mb...@us...> - 2002-07-29 00:58:45
|
Update of /cvsroot/lxr/lxr/lib/LXR/Lang
In directory usw-pr-cvs1:/tmp/cvs-serv32508
Modified Files:
Generic.pm
Log Message:
Fix from bug 523647 from David Houlder.
Index: Generic.pm
===================================================================
RCS file: /cvsroot/lxr/lxr/lib/LXR/Lang/Generic.pm,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- Generic.pm 26 Feb 2002 15:56:23 -0000 1.11
+++ Generic.pm 29 Jul 2002 00:58:42 -0000 1.12
@@ -179,7 +179,7 @@
my $ls;
while (defined($frag)) {
- @lines = ($frag =~ /(.*?\n)/g, $frag =~ /[^\n]*$/);
+ @lines = ($frag =~ /(.*?\n)/g, $frag =~ /([^\n]*)$/);
if (defined($btype)) {
if ($btype eq 'comment' or $btype eq 'string' or $btype eq 'include') {
|