Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75700 - in trunk/tools/quickbook: src test
From: dnljms_at_[hidden]
Date: 2011-11-27 19:13:12


Author: danieljames
Date: 2011-11-27 19:13:10 EST (Sun, 27 Nov 2011)
New Revision: 75700
URL: http://svn.boost.org/trac/boost/changeset/75700

Log:
Quickbook: Fix list processing bug.
Text files modified:
   trunk/tools/quickbook/src/main_grammar.cpp | 2 +-
   trunk/tools/quickbook/test/list_test-1_5.quickbook | 4 ++--
   trunk/tools/quickbook/test/list_test-1_6.quickbook | 4 ++--
   3 files changed, 5 insertions(+), 5 deletions(-)

Modified: trunk/tools/quickbook/src/main_grammar.cpp
==============================================================================
--- trunk/tools/quickbook/src/main_grammar.cpp (original)
+++ trunk/tools/quickbook/src/main_grammar.cpp 2011-11-27 19:13:10 EST (Sun, 27 Nov 2011)
@@ -351,7 +351,7 @@
         local.list =
                 *cl::blank_p
>> (cl::ch_p('*') | '#')
- >> *cl::blank_p [local.list.still_in_block = true]
+ >> (*cl::blank_p) [local.list.still_in_block = true]
>> *( cl::eps_p(local.list.still_in_block)
>> local.list_item(element_info::only_block)
                 )

Modified: trunk/tools/quickbook/test/list_test-1_5.quickbook
==============================================================================
--- trunk/tools/quickbook/test/list_test-1_5.quickbook (original)
+++ trunk/tools/quickbook/test/list_test-1_5.quickbook 2011-11-27 19:13:10 EST (Sun, 27 Nov 2011)
@@ -9,8 +9,8 @@
 
 Simple list:
 
-# A
-# B
+#A
+#B
 
 Two level list:
 

Modified: trunk/tools/quickbook/test/list_test-1_6.quickbook
==============================================================================
--- trunk/tools/quickbook/test/list_test-1_6.quickbook (original)
+++ trunk/tools/quickbook/test/list_test-1_6.quickbook 2011-11-27 19:13:10 EST (Sun, 27 Nov 2011)
@@ -9,8 +9,8 @@
 
 Simple list:
 
-# A
-# B
+#A
+#B
 
 Two level list:
 


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