Actions
Bug #20986
closed
Bug in Prism parser with `?\C`
Description
Prism output is this:
$ ./miniruby -e 'p ?\C-\]'
"]"
Parse.y output is this:
$ ./miniruby --parser=parse.y -e 'p ?\C-\]'
"\u001D"
Updated by zenspider (Ryan Davis) about 2 months ago
Caught via ruby_parser's lexer tests
Updated by kddnewton (Kevin Newton) about 2 months ago
Updated by kddnewton (Kevin Newton) about 2 months ago
- Status changed from Open to Closed
Applied in changeset git|4d8c9c131021316b854c4c8b877110d5584069d3.
[ruby/prism] Handle escaped characters after controls
Fixes [Bug #20986]
Actions
Like0
Like0Like0Like0