Update of /cvsroot/lxr/lxr/lib/LXR/Lang
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv4431/lib/LXR/Lang
Modified Files:
Java.pm Python.pm
Log Message:
Lang/java.pm, Lang/Python.pm: update include processing after change in Common.pm & Lang.pm
Index: Java.pm
===================================================================
RCS file: /cvsroot/lxr/lxr/lib/LXR/Lang/Java.pm,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- Java.pm 12 Apr 2013 15:01:09 -0000 1.11
+++ Java.pm 24 Sep 2013 07:59:19 -0000 1.12
@@ -57,7 +57,7 @@
$path = $file;
$path =~ s@\.@/@g; # Replace Java delimiters
$link = $self->_linkincludedirs
- ( &LXR::Common::incdirref
+ ( &LXR::Lang::incdirref
($file, "include", $path, $dir)
, $file
, '.'
@@ -83,7 +83,7 @@
$class = $3;
$path =~ s@\.@/@g; # Replace Java delimiters
$link = $self->_linkincludedirs
- ( &LXR::Common::incdirref
+ ( &LXR::Lang::incdirref
($file, "include", $path, $dir)
, $file
, '.'
Index: Python.pm
===================================================================
RCS file: /cvsroot/lxr/lxr/lib/LXR/Lang/Python.pm,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- Python.pm 21 Sep 2013 12:54:53 -0000 1.10
+++ Python.pm 24 Sep 2013 07:59:19 -0000 1.11
@@ -110,7 +110,7 @@
# this would suppress the possibility to click-link to
# the directory itself.
$path =~ s@\.py$@@; # Remove file extension
- $link = &LXR::Common::incdirref($file, "include", $path, $dir);
+ $link = &LXR::Lang::incdirref($file, 'include', $path, $dir);
# Erase last path separator from <a> link to enable
# following partial path processing.
# NOTE: this creates a dependency of link structure from incref!
|