Update of /cvsroot/boost/boost/tools/quickbook
In directory
sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv23363/tools/quickbook_backend
Modified Files:
Tag: QUICKBOOK_BACKEND
phrase.hpp
Log Message:
Translation of more markup to templates. Cleaned up templates, and actions.cpp,
to use template escape "[`xyz]".
Index: phrase.hpp
===================================================================
RCS file: /cvsroot/boost/boost/tools/quickbook/phrase.hpp,v
retrieving revision 1.23.2.2
retrieving revision 1.23.2.3
diff -u -d -r1.23.2.2 -r1.23.2.3
--- phrase.hpp 17 Apr 2007 00:42:01 -0000 1.23.2.2
+++ phrase.hpp 10 Jul 2007 03:50:49 -0000 1.23.2.3
@@ -123,20 +123,28 @@
)
;
+ static const bool true_ = true;
+ static const bool false_ = false;
+
template_ =
(
+ ch_p('`')
[assign_a(actions.template_escape,true_)]
+ |
+ eps_p
[assign_a(actions.template_escape,false_)]
+ )
+ >>
+ ( (
(eps_p(punct_p)
>> actions.templates.scope
)
[push_back_a(actions.template_info)]
>> !template_args
- )
- | (
+ ) | (
(actions.templates.scope
>> eps_p
)
[push_back_a(actions.template_info)]
>> !(hard_space
>> template_args)
- )
+ ) )
;
brackets =
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs