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

Modified Files:
        cpp_iterator.hpp 
Log Message:
Wave: Changed return value of found_nclude_file hook function.

Index: cpp_iterator.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/wave/util/cpp_iterator.hpp,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- cpp_iterator.hpp    11 Mar 2007 17:23:44 -0000      1.61
+++ cpp_iterator.hpp    20 May 2007 00:28:20 -0000      1.62
@@ -1262,11 +1262,12 @@
 char const *current_name = 0;   // never try to match current file name
 #endif
 
-// call the include policy trace function
+// call the 'found_include_directive' hook function
 #if BOOST_WAVE_USE_DEPRECIATED_PREPROCESSING_HOOKS != 0
     ctx.get_hooks().found_include_directive(f, include_next);
 #else
-    ctx.get_hooks().found_include_directive(ctx, f, include_next);
+    if (!ctx.get_hooks().found_include_directive(ctx, f, include_next))
+        return true;    // client returned false: skip file to include 
 #endif
 
     file_path = util::impl::unescape_lit(file_path);


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to