Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add 「...」 quotes
  • Loading branch information
TimToady committed Aug 13, 2012
1 parent d96f25c commit 7b5e4fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions STD.pm6
Expand Up @@ -589,6 +589,7 @@ token quotepair {
$<k> = {$key} $<v> = {$value}
}

token quote:sym<「 」> { :dba('perfect quotes') "「" ~ "」" <nibble($¢.cursor_fresh( %*LANG<Q> ).unbalanced(""))> }
token quote:sym<' '> { :dba('single quotes') "'" ~ "'" <nibble($¢.cursor_fresh( %*LANG<Q> ).tweak(:q).unbalanced("'"))> }
token quote:sym<" "> { :dba('double quotes') '"' ~ '"' <nibble($¢.cursor_fresh( %*LANG<Q> ).tweak(:qq).unbalanced('"'))> }

Expand Down

0 comments on commit 7b5e4fb

Please sign in to comment.