$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r65059 - trunk/boost/wave/util
From: hartmut.kaiser_at_[hidden]
Date: 2010-08-27 15:35:21
Author: hkaiser
Date: 2010-08-27 15:35:18 EDT (Fri, 27 Aug 2010)
New Revision: 65059
URL: http://svn.boost.org/trac/boost/changeset/65059
Log:
Wave: fixing a bug preventing the skipped_token hook to be called for 'inactive' conditional preprocessing directive tokens
Text files modified: 
   trunk/boost/wave/util/cpp_iterator.hpp |     2 ++                                      
   1 files changed, 2 insertions(+), 0 deletions(-)
Modified: trunk/boost/wave/util/cpp_iterator.hpp
==============================================================================
--- trunk/boost/wave/util/cpp_iterator.hpp	(original)
+++ trunk/boost/wave/util/cpp_iterator.hpp	2010-08-27 15:35:18 EDT (Fri, 27 Aug 2010)
@@ -676,6 +676,7 @@
 
             if (was_seen_newline && pp_directive()) {
             // a pp directive was found
+//                 pending_queue.push_back(result_type(T_NEWLINE, "\n", act_pos));
 //                 seen_newline = true;
 //                 must_emit_line_directive = true;
 
@@ -1075,6 +1076,7 @@
     token_id id = token_id(*it);
     bool can_exit = true;
     if (!ctx.get_if_block_status()) {
+        impl::call_skipped_token_hook(ctx, *it);
         if (IS_EXTCATEGORY(*it, PPConditionalTokenType)) {
         // simulate the if block hierarchy
             switch (static_cast<unsigned int>(id)) {