Update of /cvsroot/boost/boost/tools/quickbook/detail
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv32067/detail
Modified Files:
actions_class.cpp actions_class.hpp markups.hpp
post_process.cpp
Log Message:
Comments are passed through to XML
Index: actions_class.cpp
===================================================================
RCS file: /cvsroot/boost/boost/tools/quickbook/detail/actions_class.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- actions_class.cpp 2 Oct 2006 21:18:43 -0000 1.6
+++ actions_class.cpp 16 Nov 2006 11:57:15 -0000 1.7
@@ -72,6 +72,7 @@
, code_block(phrase, phrase, temp, source_mode, macro, *this)
, inline_code(phrase, temp, source_mode, macro, *this)
, paragraph(out, phrase, paragraph_pre, paragraph_post)
+ , comment(phrase, comment_pre, comment_post, macro)
, h(out, phrase, doc_id, section_id, qualified_section_id,
section_level)
, h1(out, phrase, doc_id, section_id, qualified_section_id, h1_pre,
h1_post)
, h2(out, phrase, doc_id, section_id, qualified_section_id, h2_pre,
h2_post)
Index: actions_class.hpp
===================================================================
RCS file: /cvsroot/boost/boost/tools/quickbook/detail/actions_class.hpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- actions_class.hpp 2 Oct 2006 21:18:43 -0000 1.6
+++ actions_class.hpp 16 Nov 2006 11:57:15 -0000 1.7
@@ -103,6 +103,7 @@
code_action code_block;
inline_code_action inline_code;
phrase_action paragraph;
+ simple_phrase_action comment;
generic_header_action h;
header_action h1, h2, h3, h4, h5, h6;
markup_action hr;
Index: markups.hpp
===================================================================
RCS file: /cvsroot/boost/boost/tools/quickbook/detail/markups.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- markups.hpp 2 Oct 2006 21:18:44 -0000 1.4
+++ markups.hpp 16 Nov 2006 11:57:16 -0000 1.5
@@ -12,6 +12,8 @@
namespace quickbook { namespace /*unnamed*/
{
+ const char* comment_pre = "<!--";
+ const char* comment_post = "-->";
const char* paragraph_pre = "<para>\n";
const char* paragraph_post = "</para>\n";
const char* h1_pre = "<bridgehead renderas=\"sect1\">";
Index: post_process.cpp
===================================================================
RCS file: /cvsroot/boost/boost/tools/quickbook/detail/post_process.cpp,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- post_process.cpp 16 Nov 2006 10:51:40 -0000 1.24
+++ post_process.cpp 16 Nov 2006 11:57:16 -0000 1.25
@@ -282,7 +282,7 @@
start_end_tag =
'<' >> tag >> *(anychar_p - ('/' | ch_p('>'))) >>
lexeme_d["/>" >> *space_p]
| "<?" >> tag >> *(anychar_p - '?') >> lexeme_d["?>" >>
*space_p]
- | "<!--" >> tag >> *(anychar_p - "-->") >>
lexeme_d["-->" >> *space_p]
+ | "<!--" >> *(anychar_p - "-->") >> lexeme_d["-->" >>
*space_p]
| "<!" >> tag >> *(anychar_p - '>') >> lexeme_d['>' >>
*space_p]
;
content = lexeme_d[ +(anychar_p - '<') ];
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs