|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r71057 - in trunk/tools/quickbook: src test
From: dnljms_at_[hidden]
Date: 2011-04-06 19:42:52
Author: danieljames
Date: 2011-04-06 19:42:51 EDT (Wed, 06 Apr 2011)
New Revision: 71057
URL: http://svn.boost.org/trac/boost/changeset/71057
Log:
Quickbook: Avoid empty simple markups.
Text files modified:
trunk/tools/quickbook/src/main_grammar.cpp | 2 +-
trunk/tools/quickbook/test/simple_markup.gold | 3 +++
trunk/tools/quickbook/test/simple_markup.quickbook | 2 ++
3 files changed, 6 insertions(+), 1 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-04-06 19:42:51 EDT (Wed, 06 Apr 2011)
@@ -384,7 +384,7 @@
[
actions.scoped_output()
[
- (*( ~cl::eps_p(local.simple_markup_end)
+ (+( ~cl::eps_p(local.simple_markup_end)
>> local.nested_char
)) [actions.docinfo_value(ph::arg1, ph::arg2)]
]
Modified: trunk/tools/quickbook/test/simple_markup.gold
==============================================================================
--- trunk/tools/quickbook/test/simple_markup.gold (original)
+++ trunk/tools/quickbook/test/simple_markup.gold 2011-04-06 19:42:51 EDT (Wed, 06 Apr 2011)
@@ -46,5 +46,8 @@
<para>
/not italic/
</para>
+ <para>
+ These shouldn't be interepted as markup: == // **
+ </para>
</section>
</article>
Modified: trunk/tools/quickbook/test/simple_markup.quickbook
==============================================================================
--- trunk/tools/quickbook/test/simple_markup.quickbook (original)
+++ trunk/tools/quickbook/test/simple_markup.quickbook 2011-04-06 19:42:51 EDT (Wed, 06 Apr 2011)
@@ -33,4 +33,6 @@
/not italic\/
+These shouldn't be interepted as markup: == // **
+
[endsect]
\ No newline at end of file
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