ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/scripts/filepp
(Generate patch)

Comparing trunk/scripts/filepp (file contents):
Revision 63 by tim, Mon Oct 11 21:10:28 2004 UTC vs.
Revision 414 by tim, Wed Mar 9 17:58:33 2005 UTC

# Line 21 | Line 21
21   #  Filename     :  $RCSfile: filepp,v $
22   #  Author       :  $Author: tim $
23   #  Maintainer   :  Darren Miller: darren@cabaret.demon.co.uk
24 < #  File version :  $Revision: 1.5 $
25 < #  Last changed :  $Date: 2004-10-11 21:10:28 $
24 > #  File version :  $Revision: 1.7 $
25 > #  Last changed :  $Date: 2005-03-09 17:58:33 $
26   #  Description  :  Main program
27   #  Licence      :  GNU copyleft
28   #
# Line 31 | Line 31 | use strict "vars";
31   package Filepp;
32  
33   use strict "vars";
34 < use strict "subs";
34 > #use strict "subs";
35   # Used to all filepp to work with any char, not just ascii,
36   # feel free to remove this if it causes you problems
37   #use bytes;
# Line 2542 | Line 2542 | sub printModule {
2542          my $objname;
2543          print "\n";
2544          foreach $modname (keys %parsedModList) {
2545 <                $objname = GetObjFile($parsedModList{$modname});
2545 >                $objname = GetObjFile($modname);
2546                  print $objDir . $modname  . " : " . $objDir . $objname . "\n";
2547          }
2548   }
# Line 2556 | Line 2556 | sub GetObjFile {
2556          my $filename;
2557          my $dir;
2558          my $suffix;
2559 +        
2560          ($filename, $dir, $suffix) = fileparse($fullname, '\.[^.]*');  
2561          return $filename . $objExt;
2562   }
# Line 2944 | Line 2945 | foreach $base_file (@Inputfiles) {
2945      }
2946      
2947      #clean visitedTable
2948 <    cleanVisited();
2948 >    %visitedTable = ();
2949      
2950      #clear all define
2951      UndefAll();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines