Actions
Bug #20986
closedBug 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) 7 days ago
Caught via ruby_parser's lexer tests
Updated by kddnewton (Kevin Newton) 7 days ago
Updated by kddnewton (Kevin Newton) 7 days 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