Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64975 - trunk/tools/quickbook
From: dnljms_at_[hidden]
Date: 2010-08-23 17:49:36


Author: danieljames
Date: 2010-08-23 17:49:33 EDT (Mon, 23 Aug 2010)
New Revision: 64975
URL: http://svn.boost.org/trac/boost/changeset/64975

Log:
Recover after a failed varlistitem parse.

Maybe would be better to just bail out after a parse error.
Text files modified:
   trunk/tools/quickbook/block.hpp | 4 +++-
   1 files changed, 3 insertions(+), 1 deletions(-)

Modified: trunk/tools/quickbook/block.hpp
==============================================================================
--- trunk/tools/quickbook/block.hpp (original)
+++ trunk/tools/quickbook/block.hpp 2010-08-23 17:49:33 EDT (Mon, 23 Aug 2010)
@@ -281,7 +281,9 @@
                     (
                         (
                             varlistterm [actions.start_varlistitem]
- >> (+varlistitem) [actions.end_varlistitem]
+ >> ( +varlistitem
+ | eps_p [actions.error]
+ ) [actions.end_varlistitem]
>> ch_p(']') [actions.end_varlistentry]
>> space
                         )


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