From f7d1468cc0fe4237b702252f9bbaae5ba61b6bfd Mon Sep 17 00:00:00 2001 From: GrĂ©goire DuchĂȘne Date: Sun, 5 Dec 2010 00:45:11 +0100 Subject: Bug inside the inline code text rule fixed. It turned out that the inline code text rule was not honoring the verbatim constraint either. This issue is now solved. Also, I made the text_p parser more flexible by adding an inherited attribute to it. --- src/parser/document_p.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/parser/document_p.h') diff --git a/src/parser/document_p.h b/src/parser/document_p.h index fc6530e..d2a7c44 100644 --- a/src/parser/document_p.h +++ b/src/parser/document_p.h @@ -15,8 +15,12 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #ifndef _MPPDOWN_DOCUMENT_P #define _MPPDOWN_DOCUMENT_P +#include #include "text_p.h" +namespace qi = boost::spirit::qi; +namespace ph = boost::phoenix; + struct document_p : qi::grammar { qi::rule document_; text_p text_; -- cgit v1.2.3-70-g09d2