]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkInterpreter.cxx
Installer with CPACK
[bbtk.git] / kernel / src / bbtkInterpreter.cxx
index ced11fa92b8f849e14231a4f293fb75c624e1ff8..951c40db00b1831324f4edfaaedc523db8a6afde 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkInterpreter.cxx,v $ $
   Language:  C++
-  Date:      $Date: 2008/02/18 10:41:02 $
-  Version:   $Revision: 1.33 $
+  Date:      $Date: 2008/02/21 07:30:20 $
+  Version:   $Revision: 1.36 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -58,7 +58,7 @@ Interpreter* Interpreter::mGlobalInterpreter = NULL;
     // For the time being, comment out previous line, and
     // uncomment next line to check Transcriptor
 
-    //mExecuter = new bbtk::Transcriptor("GeneratedProgram.txt");
+   // mExecuter = new bbtk::Transcriptor("GeneratedProgram.txt");
 
     // Builds the commands dict
     CommandInfoType info;
@@ -308,11 +308,8 @@ Interpreter* Interpreter::mGlobalInterpreter = NULL;
     bool exm = mCommandLine;
     mCommandLine = false;
 
-
     try 
     {
-printf("EED: Interpreter::InterpretFile 01\n");
-InterpretLine("message ALL 9", exm);
       SwitchToFile(filename, use_configuration_file);
       bool insideComment = false; // for multiline comment
       while (mFile.size()>0) 
@@ -370,7 +367,6 @@ InterpretLine("message ALL 9", exm);
     bbtkDecTab("Interpreter",9);
 
     mCommandLine = exm;
- printf("EED: Interpreter::InterpretFile 02\n");
   }
   //=======================================================================
 
@@ -808,9 +804,9 @@ void Interpreter::SplitLine ( const std::string& str, std::vector<std::string>&
 
         fullDirectoryName = Utilities::MakePkgnameFromPath(path, upath, false);
 
-               //EED 18 Fev 2008
-               // without last slash "\"
-               std::string fullDirectoryNameClean = fullDirectoryName.substr(0,fullDirectoryName.size()-1);
+        //EED 18 Fev 2008
+        // without last slash "\"
+        std::string fullDirectoryNameClean = fullDirectoryName.substr(0,fullDirectoryName.size()-1);
 
       // Check if library exists
         if ( ! Utilities::IsDirectory( fullDirectoryNameClean ) )