Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59312 - branches/quickbook-1.5-spirit2
From: daniel_james_at_[hidden]
Date: 2010-01-27 17:04:15


Author: danieljames
Date: 2010-01-27 17:04:15 EST (Wed, 27 Jan 2010)
New Revision: 59312
URL: http://svn.boost.org/trac/boost/changeset/59312

Log:
Trim down the block grammar a bit.
Text files modified:
   branches/quickbook-1.5-spirit2/block.cpp | 15 ++-------------
   1 files changed, 2 insertions(+), 13 deletions(-)

Modified: branches/quickbook-1.5-spirit2/block.cpp
==============================================================================
--- branches/quickbook-1.5-spirit2/block.cpp (original)
+++ branches/quickbook-1.5-spirit2/block.cpp 2010-01-27 17:04:15 EST (Wed, 27 Jan 2010)
@@ -124,11 +124,8 @@
         bool no_eols;
         phrase_grammar common;
         qi::rule<iterator>
- start_, blocks, block_markup,
- space, blank, comment,
- phrase, phrase_end, ordered_list,
- hard_space, eol, paragraph_end,
- dummy_block;
+ start_, blocks, block_markup, space, blank, comment,
+ phrase_end, hard_space, eol, paragraph_end, dummy_block;
 
         qi::symbols<> paragraph_end_markups;
         qi::rule<iterator, quickbook::paragraph()> paragraph;
@@ -594,14 +591,6 @@
>> qi::eps [actions.phrase_pop]
             ;
 
- phrase =
- *( common
- | comment
- | (qi::char_ -
- phrase_end) [actions.plain_char]
- )
- ;
-
         position = qi::raw[qi::eps] [get_position];
         error = qi::raw[qi::eps] [actions.error];
     }


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