Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86685 - trunk/tools/quickbook/src
From: dnljms_at_[hidden]
Date: 2013-11-13 16:48:18


Author: danieljames
Date: 2013-11-13 16:48:18 EST (Wed, 13 Nov 2013)
New Revision: 86685
URL: http://svn.boost.org/trac/boost/changeset/86685

Log:
Disallow empty 1.7 attribute values

Only in the parser, an empty template could still be used. Will need to
validate attributes somewhere else.

Text files modified:
   trunk/tools/quickbook/src/main_grammar.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/tools/quickbook/src/main_grammar.cpp
==============================================================================
--- trunk/tools/quickbook/src/main_grammar.cpp Wed Nov 13 16:47:59 2013 (r86684)
+++ trunk/tools/quickbook/src/main_grammar.cpp 2013-11-13 16:48:18 EST (Wed, 13 Nov 2013) (r86685)
@@ -972,7 +972,7 @@
 
 
         attribute_value_1_7 =
- *( ~cl::eps_p(']' | cl::space_p | comment)
+ +( ~cl::eps_p(']' | cl::space_p | comment)
>> ( cl::eps_p
                     ( cl::ch_p('[')
>> 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