Update of /cvsroot/boost/boost/libs/wave/samples/advanced_hooks
In directory
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv27052/libs/wave/samples/advanced_hooks
Modified Files:
advanced_hooks.hpp
Log Message:
Wave: Changed return type of some preprocessing hooks to allow to skip the
corresponding preprocessor action.
Index: advanced_hooks.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/libs/wave/samples/advanced_hooks/advanced_hooks.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- advanced_hooks.hpp 20 Dec 2006 16:55:54 -0000 1.2
+++ advanced_hooks.hpp 4 Jul 2007 21:56:55 -0000 1.3
@@ -56,7 +56,7 @@
found_directive(TokenT const& directive)
#else
template <typename ContextT, typename TokenT>
- void
+ bool
found_directive(ContextT const& ctx, TokenT const& directive)
#endif
{
@@ -81,6 +81,10 @@
default:
break;
}
+
+#if BOOST_WAVE_USE_DEPRECIATED_PREPROCESSING_HOOKS == 0
+ return false;
+#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