Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85367 - trunk/tools/quickbook/src
From: dnljms_at_[hidden]
Date: 2013-08-16 13:31:08


Author: danieljames
Date: 2013-08-16 13:31:08 EDT (Fri, 16 Aug 2013)
New Revision: 85367
URL: http://svn.boost.org/trac/boost/changeset/85367

Log:
Add note about hack.

Text files modified:
   trunk/tools/quickbook/src/main_grammar.cpp | 6 ++++++
   1 files changed, 6 insertions(+), 0 deletions(-)

Modified: trunk/tools/quickbook/src/main_grammar.cpp
==============================================================================
--- trunk/tools/quickbook/src/main_grammar.cpp Fri Aug 16 13:30:49 2013 (r85366)
+++ trunk/tools/quickbook/src/main_grammar.cpp 2013-08-16 13:31:08 EDT (Fri, 16 Aug 2013) (r85367)
@@ -1042,6 +1042,12 @@
 
     void main_grammar_local::start_nested_blocks_impl(parse_iterator, parse_iterator)
     {
+ // If this nested block is part of a list, then tell the
+ // output state.
+ //
+ // TODO: This is a bit dodgy, it would be better if this
+ // was handled when the output state is pushed (currently
+ // in to_value_scoped_action).
         state_.in_list = state_.explicit_list;
         state_.explicit_list = false;
 


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