summaryrefslogtreecommitdiffhomepage
path: root/src/debug.c
diff options
context:
space:
mode:
authorchasonr <[email protected]>2014-03-23 21:46:00 -0400
committerchasonr <[email protected]>2014-03-23 21:46:00 -0400
commit509cbc51eb3984b4a67076ee88df871ea157c46c (patch)
tree232ff12b03cf271a5101e94b3b8fe8a73ddabfcc /src/debug.c
parentb8d7f1ce7aaef75d43f515231fcd62dfe34116d5 (diff)
downloadmruby-509cbc51eb3984b4a67076ee88df871ea157c46c.tar.gz
mruby-509cbc51eb3984b4a67076ee88df871ea157c46c.zip
Implement \u notation for strings and regexes.
This change adds the \u notation for double quoted strings and regular expressions. It does not implement the \u notation for character literals. Both the \uNNNN and \u{NNNN} notations are supported. \uNNNN is implemented by emitting equivalent UTF-8; that is, "\u4000" is equivalent to "\xE4\x80\x80". Unlike CRuby, the \u{NNNN} notation allows only one character per pair of braces; I see no way to lift this restriction without remodeling the parser.
Diffstat (limited to 'src/debug.c')
0 files changed, 0 insertions, 0 deletions