$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r75611 - branches/quickbook-dev/tools/quickbook/src
From: dnljms_at_[hidden]
Date: 2011-11-22 18:44:34
Author: danieljames
Date: 2011-11-22 18:44:32 EST (Tue, 22 Nov 2011)
New Revision: 75611
URL: http://svn.boost.org/trac/boost/changeset/75611
Log:
Quickbook: No need to save phrase for syntax highlighter.
I pushes the phrase collector whenever it parses escaped quickbook, and
stores its generated code in a separate collector.
Text files modified: 
   branches/quickbook-dev/tools/quickbook/src/actions.cpp |     6 ------                                  
   1 files changed, 0 insertions(+), 6 deletions(-)
Modified: branches/quickbook-dev/tools/quickbook/src/actions.cpp
==============================================================================
--- branches/quickbook-dev/tools/quickbook/src/actions.cpp	(original)
+++ branches/quickbook-dev/tools/quickbook/src/actions.cpp	2011-11-22 18:44:32 EST (Tue, 22 Nov 2011)
@@ -605,15 +605,9 @@
         file const* saved_file = &fake_file;
         boost::swap(actions.current_file, saved_file);
 
-        // TODO: Shouldn't phrase be empty here? Why would it be output
-        // after the code block?
-        std::string save;
-        phrase.swap(save);
-
         // print the code with syntax coloring
         std::string str = syntax_highlight(first_, last_, actions, actions.source_mode);
 
-        phrase.swap(save);
         boost::swap(actions.current_file, saved_file);
 
         //