Update of /cvsroot/boost/boost/boost/wave/util
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv4358/boost/wave/util

Modified Files:
        cpp_include_paths.hpp cpp_iterator.hpp 
Log Message:
Wave: fixed --force_include behavior as discussed on the list.

Index: cpp_include_paths.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/wave/util/cpp_include_paths.hpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- cpp_include_paths.hpp       20 Dec 2006 16:55:53 -0000      1.14
+++ cpp_include_paths.hpp       11 Mar 2007 17:23:44 -0000      1.15
@@ -164,8 +164,6 @@
     boost::filesystem::path get_current_directory() const 
         { return current_dir; }
 
-    void init_initial_path() { boost::filesystem::initial_path(); }
-    
 protected:
     bool find_include_file (std::string &s, std::string &dir, 
         include_list_type const &pathes, char const *) const;

Index: cpp_iterator.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/wave/util/cpp_iterator.hpp,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- cpp_iterator.hpp    13 Jan 2007 21:11:06 -0000      1.60
+++ cpp_iterator.hpp    11 Mar 2007 17:23:44 -0000      1.61
@@ -459,6 +459,9 @@
 {
     using namespace boost::wave;
 
+    // make sure the cwd has been initialized
+    ctx.init_context();
+    
     // loop over skip able whitespace until something significant is found
     bool skipped_newline = false;
     bool was_seen_newline = seen_newline;


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to