diff options
Diffstat (limited to 'src/parser')
| -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 16cb703..af454fe 100644 --- a/src/parser/text_p.cpp +++ b/src/parser/text_p.cpp @@ -31,7 +31,8 @@ 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"*'`$@\"")) >> '"' + | lit(L"@_") >> attr(SUB) >> +text_(val(L"*'`$@_")) >> '_'; ptext_ = +(echar_ | rchar_(_r1)); echar_ = lit('\\') >> char_; |
