]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkInterpreter.cxx
BUGs INSTALL , External Packages, CPACK windows
[bbtk.git] / kernel / src / bbtkInterpreter.cxx
index 544729156a10cb88e6d430f6a174648a5194c666..67370a9100f084697e921e7f39bc4b05a17db25e 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkInterpreter.cxx,v $ $
   Language:  C++
-  Date:      $Date: 2008/03/21 14:59:39 $
-  Version:   $Revision: 1.52 $
+  Date:      $Date: 2008/03/25 06:22:53 $
+  Version:   $Revision: 1.53 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -537,6 +537,7 @@ bufferNb =0;
   /// Runs the interpretation of a command
   Interpreter::ExitStatus Interpreter::InterpretLine( const std::string& line )
   {
+printf("EED Interpreter::InterpretLine %s \n", line.c_str() );
     bbtkDebugMessageInc("Interpreter",9,"Interpreter::InterpretLine('"<<line<<"')"<<std::endl);
 
     ExitStatus status = Interpreter_OK;
@@ -1008,7 +1009,8 @@ void Interpreter::SplitLine ( const std::string& str, std::vector<std::string>&
            if ((*i).substr(lgr-4, 4) != ".bbs")
              continue;
 
-          (*stream) << "include " << *i << "\n";
+printf("EED Interpreter::SwitchToFile flag01 %s \n", (*i).c_str() );
+          (*stream) << "include \"" << *i << "\"\n";
 
            nbBssFiles++;
         } // for vector
@@ -1066,7 +1068,9 @@ void Interpreter::SplitLine ( const std::string& str, std::vector<std::string>&
            if ((*i).substr(lgr-4, 4) != ".bbs")
              continue;
 
-           (*stream) << "include " << *i << "\n";
+printf("EED Interpreter::SwitchToFile flag02 %s \n", (*i).c_str() );
+           (*stream) << "include \"" << *i << "\"\n";
+
            nbBssFiles++;
         } // for vector
                if (nbBssFiles==0){