diff options
Diffstat (limited to 'src/parser/text_p.cpp')
| -rw-r--r-- | src/parser/text_p.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parser/text_p.cpp b/src/parser/text_p.cpp index 658aad0..878336d 100644 --- a/src/parser/text_p.cpp +++ b/src/parser/text_p.cpp @@ -30,7 +30,8 @@ text_p::text_p() : text_p::base_type(text_) { | lit('`') >> attr(CODE) >> +ptext_(val(L"`")) >> '`' | lit('$') >> attr(MATH) >> +ptext_(val(L"$")) >> '$' | lit("^{") >> attr(SUPER) >> +text_(val(L"*'`$^}")) >> '}' - | lit('^') >> attr(SUPER) >> +text_(val(L"*'`$ ")); + | lit('^') >> attr(SUPER) >> +text_(val(L"*'`$ ")) + | lit(L"@_") >> attr(QUOTE) >> +text_(val(L"*'`$_")) >> '_'; ptext_ = +(echar_ | rchar_(_r1)); echar_ = lit('\\') >> char_; |
