Boost logo

Boost-Commit :

From: hartmut.kaiser_at_[hidden]
Date: 2008-02-26 14:25:06


Author: hkaiser
Date: 2008-02-26 14:25:05 EST (Tue, 26 Feb 2008)
New Revision: 43416
URL: http://svn.boost.org/trac/boost/changeset/43416

Log:
Wave: Fixed expanding_function_like_macro preprocessing hook.
Text files modified:
   trunk/boost/wave/util/cpp_macromap.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/wave/util/cpp_macromap.hpp
==============================================================================
--- trunk/boost/wave/util/cpp_macromap.hpp (original)
+++ trunk/boost/wave/util/cpp_macromap.hpp 2008-02-26 14:25:05 EST (Tue, 26 Feb 2008)
@@ -1267,7 +1267,7 @@
             if (ctx.get_hooks().expanding_function_like_macro(
                     ctx, macro_def.macroname, macro_def.macroparameters,
                     macro_def.macrodefinition, curr_token, arguments,
- seqend, first))
+ seqstart, seqend))
             {
                 // do not expand this macro, just copy the whole sequence
                 std::copy(seqstart, first,


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk