From 381f491b3eecbf90f2202a37f3c43c7f487f8713 Mon Sep 17 00:00:00 2001 From: GrĂ©goire DuchĂȘne Date: Tue, 7 Dec 2010 06:19:44 +0100 Subject: Bogus inline quotation implementation corrected. OK, I implemented subscript text instead of inline quotations, but I called it "inline quotation support" anyway. My bad, it is now fixed, and subscript text is coming right away. --- src/parser/text_p.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parser') diff --git a/src/parser/text_p.cpp b/src/parser/text_p.cpp index 878336d..16cb703 100644 --- a/src/parser/text_p.cpp +++ b/src/parser/text_p.cpp @@ -31,7 +31,7 @@ text_p::text_p() : text_p::base_type(text_) { | lit('$') >> attr(MATH) >> +ptext_(val(L"$")) >> '$' | lit("^{") >> attr(SUPER) >> +text_(val(L"*'`$^}")) >> '}' | lit('^') >> attr(SUPER) >> +text_(val(L"*'`$ ")) - | lit(L"@_") >> attr(QUOTE) >> +text_(val(L"*'`$_")) >> '_'; + | lit(L"@\"") >> attr(QUOTE) >> +text_(val(L"*'`$@\"")) >> '"'; ptext_ = +(echar_ | rchar_(_r1)); echar_ = lit('\\') >> char_; -- cgit v1.2.3-70-g09d2