mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
workaround for clang3.2(sha1)
This commit is contained in:
parent
3fd2451163
commit
5c9a8153de
6 changed files with 189 additions and 85 deletions
|
@ -31,21 +31,21 @@ namespace sprout {
|
|||
first, last,
|
||||
*sprout::weed::lim<sprout::container_traits<Result>::static_size>(
|
||||
sprout::weed::replace('>')
|
||||
[sprout::weed::lit('>') | "→" | "~" | "ー"]
|
||||
[sprout::weed::lit('>') | "\x81\xA8"/*"→"*/ | "\x81\x60"/*"~"*/ | "\x81\5B"/*"ー"*/]
|
||||
| sprout::weed::replace('<')
|
||||
[sprout::weed::lit('<') | "←" | "★" | "☆"]
|
||||
[sprout::weed::lit('<') | "\x81\xA9"/*"←"*/ | "\x81\x9A"/*"★"*/ | "\x81\x99"/*"☆"*/]
|
||||
| sprout::weed::replace('+')
|
||||
[sprout::weed::lit('+') | "あ" | "ぁ" | "お" | "ぉ"]
|
||||
[sprout::weed::lit('+') | "\x82\xA0"/*"あ"*/ | "\x82\x9F"/*"ぁ"*/ | "\x82\xA8"/*"お"*/ | "\x82\xA7"/*"ぉ"*/]
|
||||
| sprout::weed::replace('-')
|
||||
[sprout::weed::lit('-') | "っ" | "ッ"]
|
||||
[sprout::weed::lit('-') | "\x82\xC1"/*"っ"*/ | "\x83\x62"/*"ッ"*/]
|
||||
| sprout::weed::replace('.')
|
||||
[sprout::weed::lit('.') | "!"]
|
||||
[sprout::weed::lit('.') | "\x81\x49"/*"!"*/]
|
||||
| sprout::weed::replace(',')
|
||||
[sprout::weed::lit(',') | "?"]
|
||||
[sprout::weed::lit(',') | "\x81\x48"/*"?"*/]
|
||||
| sprout::weed::replace('[')
|
||||
[sprout::weed::lit('[') | "「" | "『"]
|
||||
[sprout::weed::lit('[') | "\x81\x75"/*"「"*/ | "\x81\x77"/*"『"*/]
|
||||
| sprout::weed::replace(']')
|
||||
[sprout::weed::lit(']') | "」" | "』"]
|
||||
[sprout::weed::lit(']') | "\x81\x76"/*"」"*/ | "\x81\x78"/*"』"*/]
|
||||
| sprout::weed::replace(' ')
|
||||
[sprout::weed::char_]
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue