Update of /cvsroot/boost/boost/boost/wave
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv13032/boost/wave
Modified Files:
preprocessing_hooks.hpp
Log Message:
Wave: Changed return value of found_nclude_file hook function.
Index: preprocessing_hooks.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/wave/preprocessing_hooks.hpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- preprocessing_hooks.hpp 20 Dec 2006 16:55:53 -0000 1.19
+++ preprocessing_hooks.hpp 20 May 2007 00:28:20 -0000 1.20
@@ -175,6 +175,9 @@
// a #include_next directive and the BOOST_WAVE_SUPPORT_INCLUDE_NEXT
// preprocessing constant was defined to something != 0.
//
+ // The return value defines, whether the found file will be included
+ // (return true) or will be skipped (return false),
+ //
///////////////////////////////////////////////////////////////////////////
#if BOOST_WAVE_USE_DEPRECIATED_PREPROCESSING_HOOKS != 0
// old signature
@@ -184,10 +187,12 @@
#else
// new signature
template <typename ContextT>
- void
+ bool
found_include_directive(ContextT const& ctx, std::string const& filename,
bool include_next)
- {}
+ {
+ return true; // ok to include this file
+ }
#endif
///////////////////////////////////////////////////////////////////////////
-------------------------------------------------------------------------
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