summaryrefslogtreecommitdiff
path: root/src/generators/latex/text_g.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/generators/latex/text_g.h')
-rw-r--r--src/generators/latex/text_g.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/generators/latex/text_g.h b/src/generators/latex/text_g.h
index a2174e7..2d26a4d 100644
--- a/src/generators/latex/text_g.h
+++ b/src/generators/latex/text_g.h
@@ -16,15 +16,18 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#ifndef _MPPDOWN_LATEX_TEXT_G
#define _MPPDOWN_LATEX_TEXT_G
#include <boost/spirit/include/karma.hpp>
+#include <boost/spirit/include/phoenix.hpp>
#include <boost/spirit/include/support_standard_wide.hpp>
#include "../../elements.h"
namespace ka = boost::spirit::karma;
+namespace ph = boost::phoenix;
namespace latex {
struct text_g : ka::grammar<oiterator, text_t()> {
ka::rule<oiterator, text_t()> text_;
ka::rule<oiterator, stext_t()> stext_;
+ ka::rule<oiterator, pstext_t()> pstext_;
ka::rule<oiterator, std::wstring()> ptext_;
text_g();