Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75439 - branches/quickbook-dev/tools/quickbook/src
From: dnljms_at_[hidden]
Date: 2011-11-10 13:14:55


Author: danieljames
Date: 2011-11-10 13:14:53 EST (Thu, 10 Nov 2011)
New Revision: 75439
URL: http://svn.boost.org/trac/boost/changeset/75439

Log:
Quickbook: Remove trailing spaces in explicit code blocks.
Text files modified:
   branches/quickbook-dev/tools/quickbook/src/main_grammar.cpp | 12 ++++++------
   1 files changed, 6 insertions(+), 6 deletions(-)

Modified: branches/quickbook-dev/tools/quickbook/src/main_grammar.cpp
==============================================================================
--- branches/quickbook-dev/tools/quickbook/src/main_grammar.cpp (original)
+++ branches/quickbook-dev/tools/quickbook/src/main_grammar.cpp 2011-11-10 13:14:53 EST (Thu, 10 Nov 2011)
@@ -442,18 +442,18 @@
                 (
                     "```" >>
                     (
- *(cl::anychar_p - "```")
- >> cl::eps_p("```")
+ *(cl::anychar_p - (*cl::blank_p >> "```"))
+ >> cl::eps_p(*cl::blank_p >> "```")
                     ) [actions.code_block]
- >> "```"
+ >> *cl::blank_p >> "```"
                 )
             | (
                     "``" >>
                     (
- *(cl::anychar_p - "``")
- >> cl::eps_p("``")
+ *(cl::anychar_p - (*cl::blank_p >> "``"))
+ >> cl::eps_p(*cl::blank_p >> "``")
                     ) [actions.code_block]
- >> "``"
+ >> *cl::blank_p >> "``"
                 )
             ;
 


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