|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r63611 - in trunk/tools/quickbook: . doc test
From: daniel_james_at_[hidden]
Date: 2010-07-04 12:56:00
Author: danieljames
Date: 2010-07-04 12:55:58 EDT (Sun, 04 Jul 2010)
New Revision: 63611
URL: http://svn.boost.org/trac/boost/changeset/63611
Log:
Don't match empty paragraphs.
Added:
trunk/tools/quickbook/test/empty.quickbook (contents, props changed)
Text files modified:
trunk/tools/quickbook/block.hpp | 2 +-
trunk/tools/quickbook/doc/quickbook.qbk | 1 +
trunk/tools/quickbook/test/include_1_5.quickbook | 1 +
3 files changed, 3 insertions(+), 1 deletions(-)
Modified: trunk/tools/quickbook/block.hpp
==============================================================================
--- trunk/tools/quickbook/block.hpp (original)
+++ trunk/tools/quickbook/block.hpp 2010-07-04 12:55:58 EDT (Sun, 04 Jul 2010)
@@ -415,7 +415,7 @@
;
paragraph =
- *( common
+ +( common
| (anychar_p - // Make sure we don't go past
paragraph_end // a single block.
) [actions.plain_char]
Modified: trunk/tools/quickbook/doc/quickbook.qbk
==============================================================================
--- trunk/tools/quickbook/doc/quickbook.qbk (original)
+++ trunk/tools/quickbook/doc/quickbook.qbk 2010-07-04 12:55:58 EDT (Sun, 04 Jul 2010)
@@ -203,6 +203,7 @@
* Don't treat 4+ consecutive blank lines as multiple paragraph breaks.
* Don't require commas between authors in docinfo.
* Allow empty document bodies.
+* Less empty paragraphs.
[endsect]
Added: trunk/tools/quickbook/test/empty.quickbook
==============================================================================
Modified: trunk/tools/quickbook/test/include_1_5.quickbook
==============================================================================
--- trunk/tools/quickbook/test/include_1_5.quickbook (original)
+++ trunk/tools/quickbook/test/include_1_5.quickbook 2010-07-04 12:55:58 EDT (Sun, 04 Jul 2010)
@@ -6,3 +6,4 @@
[include include-sub.quickbook]
[include include-sub2.quickbook]
[include:foo include-sub2.quickbook]
+[include empty.quickbook]
\ 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