diff options
| author | Grégoire Duchêne <gduchene@fastmail.net> | 2010-12-07 06:19:44 +0100 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@fastmail.net> | 2010-12-07 06:24:39 +0100 |
| commit | 381f491b3eecbf90f2202a37f3c43c7f487f8713 (patch) | |
| tree | c53c714ca38968c5bfe76e47702aae122a68900c /src/parser/text_p.cpp | |
| parent | 792bc5386756a42d622d5f023b40808553b912de (diff) | |
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.
Diffstat (limited to 'src/parser/text_p.cpp')
| -rw-r--r-- | src/parser/text_p.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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_; |
